TypeScript · Emit

downlevelIteration

Emit more compliant, but verbose and less performant JavaScript for iteration.

Syntax
"downlevelIteration": true

Example

Example
{
  "compilerOptions": {
    "downlevelIteration": true
  }
}

More in this group

declaration declarationDir declarationMap 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