New issue
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
Provide type definitions for the JS configuration files. #3042
Comments
We could then also export the We'd need a way to type the factory methods also. I'm happy to start with something small and then improve it in subsequent releases. Would |
@novemberborn No preference. |
Yea I don't know either. Up to whomever submits the PR I guess! |
Continuing avajs/typescript#15 (comment)
cc @novemberborn
Summary
When a user configures AVA with JavaScript, it would be useful to have type definition. Users might consume these through JSDoc comments, or through a typed wrapper function.
Details
A wrapper function would be defined like this:
The function would be used like this:
The text was updated successfully, but these errors were encountered: