-
-
Notifications
You must be signed in to change notification settings - Fork 664
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
Wrong typing in flat config: SourceType #2555
Comments
when using a .ts config file the
|
This is probably because eslint-plugin-vue does not export type declarations yet. It was previously suggested to add them and it has already been implemented, but not yet released. See:
Could you please check whether those type declarations would fix the typing problems for you? |
https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.29.0 containing theses changes was just released. Is the problem now fixed? |
Yes it does! :) |
Checklist
Tell us about your environment
Please show your full configuration:
What did you do?
enable strict type checking in JS files
What did you expect to happen?
no error in lint config
What actually happened?
TS doesn't like the types here:
Repository to reproduce this issue
https://github.com/phil294/bug-repro-vue-eslint
Clone and open in VSCode, open
eslint.config.mjs
The text was updated successfully, but these errors were encountered: