InterviewHubPRO
Section Overview
Q92

Question 92 of 283

Part 4: JIT vs AOT Compilation, Metadata & TypeScript (76 - 100)

33%
Angular & Signals (283 Qs)•Part 4: JIT vs AOT Compilation, Metadata & TypeScript (76 - 100)

How do you specify angular template compiler options?

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

javascript
{
"compilerOptions": {
 "experimentalDecorators": true,
           ...
},
"angularCompilerOptions": {
 "fullTemplateTypeCheck": true,
 "preserveWhitespaces": true,
           ...
}
}