Skip to content

fix(types): importing Linter namespace from eslint #2575

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

Closed
wants to merge 1 commit into from
Closed

fix(types): importing Linter namespace from eslint #2575

wants to merge 1 commit into from

Conversation

thebanjomatic
Copy link

The types for Linter.LegacyConfig and Linter.FlatConfig[] weren't being imported or defined by the declaration file, so they were being interpretted as any and any[] respectively by consumers.

Fixes: #2574

The types for `Linter.LegacyConfig` and `Linter.FlatConfig[]` weren't being imported or defined by the declaration file, so they were being interpretted as `any` and `any[]` respectively by consumers.
@FloEdelmann
Copy link
Member

Thanks, but this is a duplicate of #2572, so I'll close this one (as the other one also fixes formatting and was earlier).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The new config types in 9.29.0 are broken
2 participants