TypeScript · Modules

types

Specify type package names to be included without being referenced in a source file.

Syntax
"types": []

Example

Example
{
  "compilerOptions": {
    "types": []
  }
}

More in this group

allowArbitraryExtensions allowImportingTsExtensions allowUmdGlobalAccess baseUrl customConditions module moduleSuffixes noResolve

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