remove JSDOC object->any rewrite for noImplicitAny#35661
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! |
andrewbranch
left a comment
There was a problem hiding this comment.
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