mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs: update default value for strictTemplates
Updates the strictTemplates documentation in Angular compiler options to note that the default is true, replacing the reference to the obsolete ng new --strict flag.
This commit is contained in:
committed by
Alex Rickabaugh
parent
1b09130640
commit
2bcd12a6a5
@@ -201,8 +201,7 @@ When `true`, enables [strict template type checking](tools/cli/template-typechec
|
||||
|
||||
The strictness flags that this option enables allow you to turn on and off specific types of strict template type checking.
|
||||
See [troubleshooting template errors](tools/cli/template-typecheck#troubleshooting-template-errors).
|
||||
|
||||
When you use the Angular CLI command `ng new --strict`, it is set to `true` in the new project's configuration.
|
||||
Default is `true`.
|
||||
|
||||
### `strictStandalone`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user