We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Some of my projects use typescript, some not. But error messages I see across all project.
Type annotations can only be used in TypeScript files. any
Will be better to check tsconfig file and only if it available — turn on plugin. What do you think?
tsconfig
The text was updated successfully, but these errors were encountered:
Is this in a flow file? It might be a good idea to check for a .flowconfig and disable the plugin
.flowconfig
Sorry, something went wrong.
Yes, it's flow file with flow pragma on top
Yep, then I think I'd take a PR which has a lookup to see if the JS file lives inside a folder with a .flowconfig and disables the type checking.
You can also set "enable_language_service_for_javascript": false in your Preferences.sublime-settings instead. I think that's probably more ideal.
"enable_language_service_for_javascript": false
Preferences.sublime-settings
No branches or pull requests
Some of my projects use typescript, some not. But error messages I see across all project.
Will be better to check
tsconfig
file and only if it available — turn on plugin.What do you think?
The text was updated successfully, but these errors were encountered: