Skip to content

Commit

Permalink
docs: fix confusing description for strictTemplates (#39745)
Browse files Browse the repository at this point in the history
This commit fixes a confusing description of the `strictTemplates` flag.

> When `true`, enables strict template type checking in Angular version 9.

This seems to imply that the flag is only available in one version.
Strict template type checking is available in version 9 **and above**.

PR Close #39745
  • Loading branch information
kyliau authored and AndrewKushnir committed Nov 19, 2020
1 parent ee14e43 commit c39ed99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aio/content/guide/angular-compiler-options.md
Expand Up @@ -190,7 +190,7 @@ When you use the CLI command `ng new --strict`, it is set to `true` in the gener

### `strictTemplates`

When `true`, enables [strict template type checking](guide/template-typecheck#strict-mode) in Angular version 9. Strict mode is only available when using [Ivy](guide/ivy).
When `true`, enables [strict template type checking](guide/template-typecheck#strict-mode). Strict mode is only available when using [Ivy](guide/ivy) (Angular version 9 and later).

Additional strictness flags allow you to enable and disable specific types of strict template type checking. See [troubleshooting template errors](guide/template-typecheck#troubleshooting-template-errors).

Expand Down

0 comments on commit c39ed99

Please sign in to comment.