TS7006
error TS7006: Parameter ‘
person
‘ implicitly has an ‘any
‘ type.
Broken Code ❌
1 |
|
1 |
|
Fixed Code ✔️
You have to define the type for the argument named person
:
1 |
|
Alternative, but not recommend:
- Set “noImplicitAny” to
false
in your “tsconfig.json”