Skip to content
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

Export type for config file #261

Closed
bmish opened this issue Nov 19, 2022 · 0 comments · Fixed by #264
Closed

Export type for config file #261

bmish opened this issue Nov 19, 2022 · 0 comments · Fixed by #264
Labels
enhancement New feature or request
Milestone

Comments

@bmish
Copy link
Owner

bmish commented Nov 19, 2022

Export the type as a named export for whoever wants to annotate their config file with it for convenient features like intellisense-style autocomplete and type-checking.

We don't want people reaching into a random file to find the type.

https://github.com/jest-community/eslint-plugin-jest/pull/1291/files#diff-06fb8b65d959aa8150fcfd5241231963a90ea32dea5afaa66fe63374194f17f2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant