We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A fefe function could return metadata about what it is doing, for example for
import { date } from 'fefe' const validateReleaseDate = date({ min: new Date() })
the resulting function could offer a function validateReleaseDate.describe() that returns something like
validateReleaseDate.describe()
{ params: { min: Date(2019-02-26) }, description: 'A date after 2019-02-26.' }
The user could also provide a semantic description via
date({ min: new Date(), description: 'The release date.' })
or a function that can use the standard description
date({ min: new Date(), description: msg => `The release date: ${msg}` })
CC @andywer :)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
A fefe function could return metadata about what it is doing, for example for
the resulting function could offer a function
validateReleaseDate.describe()
that returns something likeThe user could also provide a semantic description via
or a function that can use the standard description
CC @andywer :)
The text was updated successfully, but these errors were encountered: