0 votes
in Angular by

How do you specify angular template compiler options?

1 Answer

0 votes
by
The angular template compiler options are specified as members of the angularCompilerOptions object in the tsconfig.json file. These options will be specified adjecent to typescript compiler options.

{

  "compilerOptions": {

    "experimentalDecorators": true,

              ...

  },

  "angularCompilerOptions": {

    "fullTemplateTypeCheck": true,

    "preserveWhitespaces": true,

              ...

  }

}

Related questions

0 votes
asked Sep 21, 2020 in Angular by JackTerrance
0 votes
0 votes
asked Sep 13, 2019 in Angular by ivor2019
...