You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: adev/src/content/reference/configs/angular-compiler-options.md
-9Lines changed: 0 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -130,15 +130,6 @@ For example, if a library uses the `public_api.ts` file as the library index of
130
130
The `flatModuleOutFile` option could then be set, for example, to `"index.js"`, which produces `index.d.ts` and `index.metadata.json` files.
131
131
The `module` field of the library's `package.json` would be `"index.js"` and the `typings` field would be `"index.d.ts"`.
132
132
133
-
### `fullTemplateTypeCheck`
134
-
135
-
When `true`, the recommended value, enables the binding expression validation phase of the template compiler. This phase uses TypeScript to verify binding expressions.
136
-
For more information, see [Template type checking](tools/cli/template-typecheck).
137
-
138
-
Default is `false`, but when you use the Angular CLI command `ng new --strict`, it is set to `true` in the new project's configuration.
139
-
140
-
IMPORTANT: The `fullTemplateTypeCheck` option has been deprecated in Angular 13 in favor of the `strictTemplates` family of compiler options.
141
-
142
133
### `generateCodeForLibraries`
143
134
144
135
When `true`, creates factory files \(`.ngfactory.js` and `.ngstyle.js`\) for `.d.ts` files with a corresponding `.metadata.json` file. The default value is `true`.
Copy file name to clipboardExpand all lines: adev/src/content/tools/cli/aot-compiler.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -369,7 +369,7 @@ And it does not interfere with the ES module's exported API.
369
369
One of the Angular compiler's most helpful features is the ability to type-check expressions within templates, and catch any errors before they cause crashes at runtime.
370
370
In the template type-checking phase, the Angular template compiler uses the TypeScript compiler to validate the binding expressions in templates.
371
371
372
-
Enable this phase explicitly by adding the compiler option `"fullTemplateTypeCheck"` in the `"angularCompilerOptions"` of the project's TypeScript configuration file
372
+
Enable this phase explicitly by adding the compiler option `"strictTemplates"` in the `"angularCompilerOptions"` of the project's TypeScript configuration file
373
373
(see [Angular Compiler Options](reference/configs/angular-compiler-options)).
374
374
375
375
Template validation produces error messages when a type error is detected in a template binding
0 commit comments