You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Object mapping string to boolean or Object gets typed instead to any with new JS->declaration support #34914
This is something we ask periodically. When I recently removed the object=any rewrite when noImplicitAny is on, I found that webpack, in particular, still relies on it, despite checking their code with typescript. I expect the results would be similar for Object=any.
Activity
RyanCavanaugh commentedon Nov 8, 2019
Objectis an alias foranyunlessnoImplicitAnyis on. I believe Nathan Shively-Sanders (@sandersn) offered up some other workarounds offline?We should try making
objectbeobjectin JS Doc now that we have a real object primitive typesandersn commentedon Jan 10, 2020
This is something we ask periodically. When I recently removed the
object=anyrewrite when noImplicitAny is on, I found that webpack, in particular, still relies on it, despite checking their code with typescript. I expect the results would be similar forObject=any.