forked from mysticatea/eslint-plugin-node
-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Bug: TS type error in index.d.ts #316
Labels
Comments
Can you link to a repo or make a quick playground example of this being an issue please? Edit: Oh, OH! I see its our exported tsconfig.json not your eslint config 😱 |
This looks to be a ts 5.5 issue, as things start to work again in ts 5.4. This screams that we need Type coverage 🤔 |
Thanks for the quick fix! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Node version: 20.9.0
npm version:
ESLint version: 9.x
eslint-plugin-n version: 17.10.0
Operating System: Win11
What rule do you want to report?
all rules
Link to Minimal Reproducible Example
What did you expect to happen?
I am using a TypeScript wrapper around this plugin.
Using v17.10.0 gives TS type errors, because the index.d.ts does not contain a declaration for type
Configs
anymore, as there was in v17.9.0. There is only a JSDoc type declaration which does not help in a real TS env.Participation
Additional comments
No response
The text was updated successfully, but these errors were encountered: