Answers for "parameter x implicitely has any type"

0

parameter x implicitely has any type

Quick Solution: In your tsconfig.json add this "noImplicitAny": false to 
"compilerOptions":{} it will work

But:
Disabling noImplicitAny without understanding the implications of 
doing so is a bad decision and it should not be recommended without 
additional explanation. It should only be disabled if you're migrating
from a type-loose codebase and as a short-term measure. Disabling it
will reduce compiler errors, but some of those are hinting at actual
bugs in your code; those bugs are still present but now invisible.
Consider that noImplicitAny: true doesn't mean you can't use any.
It means you have to do it with consideration. It only takes a few
moments to type : any
Posted by: Guest on April-29-2022

Browse Popular Code Answers by Language