TypeScript · Command-line Options

version

Print the compiler's version.

Syntax
"version": true

Example

Example
{
  "compilerOptions": {
    "version": true
  }
}

More in this group

all help init listFilesOnly locale project showConfig watch

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