TypeScript · Language and Environment

noLib

Disable including any library files, including the default lib.d.ts.

Syntax
"noLib": true

Example

Example
{
  "compilerOptions": {
    "noLib": true
  }
}

More in this group

emitDecoratorMetadata experimentalDecorators jsx jsxFactory jsxFragmentFactory jsxImportSource libReplacement moduleDetection

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