-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Proposal for Stringent Type Checking #3728
Comments
I'm not sure what you mean - are you talking about how the plugin code is authored? It would be great to typescript-jsdoc annotate the entire plugin. The first form, however, can also be annotated and is superior to the second form. |
Yes, I am referring to how the plugin code is authored. The former doesn't seem to provide type checking, so I proposed the latter. Similar issue: microsoft/TypeScript#47107 |
oof, that's terrible. i'd want one commit that adds all the annotations, and another that refactors from |
Would it be feasible to enhance the strictness of type checking?
I suggest modifying the code from:
to:
This change aims to improve type checking by specifying the type explicitly using JSDoc annotations.
I have checked existing PRs and issues but couldn't find a similar proposal being addressed. If this is already in progress, we apologize for the redundancy.
The text was updated successfully, but these errors were encountered: