TypeScript
TypeScript parameter implicitly has an any type
TypeScript reported a function parameter with no explicit type and no safe inference under noImplicitAny rules.
TypeScript
TypeScript reported a function parameter with no explicit type and no safe inference under noImplicitAny rules.
Observed message
error TS7006: Parameter 'X' implicitly has an 'any' type.
Why it happens
How to fix it
Official reference
TypeScript TSConfig: noImplicitAnyRelated errors
Explore more