TypeScript · Language and Environment

libReplacement

Enable lib replacement.

Syntax
"libReplacement": true

Example

Example
{
  "compilerOptions": {
    "libReplacement": true
  }
}

More in this group

emitDecoratorMetadata experimentalDecorators jsx jsxFactory jsxFragmentFactory jsxImportSource moduleDetection noLib

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