TypeScript tsconfig.json Comments


Example

A tsconfig.json file can contain both line and block comments, using the same rules as ECMAScript.

//Leading comment
{
    "compilerOptions": {
        //this is a line comment
        "module": "commonjs", //eol line comment
        "target" /*inline block*/ : "es5",
        /* This is a
        block
        comment */
    }
}
/* trailing comment */