TypeScript · Type Checking

noImplicitAny

Enable error reporting for expressions and declarations with an implied 'any' type.

Syntax
"noImplicitAny": true

Example

Example
{
  "compilerOptions": {
    "noImplicitAny": true
  }
}

More in this group

allowUnreachableCode allowUnusedLabels alwaysStrict noFallthroughCasesInSwitch noImplicitOverride noImplicitReturns noImplicitThis noPropertyAccessFromIndexSignature

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course