TypeScript · Emit

declarationMap

Create sourcemaps for d.ts files.

Syntax
"declarationMap": true

Example

Example
{
  "compilerOptions": {
    "declarationMap": true
  }
}

More in this group

declaration declarationDir downlevelIteration emitBOM emitDeclarationOnly importHelpers inlineSourceMap inlineSources

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