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:
Alan Agius
2026-07-24 09:44:28 +00:00
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`