-
Notifications
You must be signed in to change notification settings - Fork 12.9k
remove JSDOC object->any rewrite for noImplicitAny #35661
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
Conversation
@typescript-bot user test this |
The user suite test run you requested has finished and failed. I've opened a PR with the baseline diff from master. |
By the numbers:
I know that webpack and prettier use checkJS; 97 new errors in webpack is concerning. The new error in content-disposition is good -- catches a bare I'll look at the axios-src, prettier, and webpack failures next. |
axios-src has
prettier
|
webpack has
There might some others but I ran out of time to look at all the errors -- most of them are the same missing properties from the aforementioned Overall, I think it's clear that real uses of |
I'll fix up any test failures tomorrow. |
@weswigham @andrewbranch ping! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would personally love if we could do this without noImplicitAny
, because when I choose to use JS+JSDoc instead of TS, it’s often because I have a bunch of untyped dependencies and writing definitions/stubs for them doesn’t feel worth it, so I disable noImplicitAny
, but I still know what object
means. But, webpack is probably more important than me 😛
Turns out only the Object -> any rewrite got removed. We may have already done some analysis of this change, but I created this PR to easily run it again.
Fixes #34980