Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixup! refactor(ivy): let strictTemplates imply `fullTemplateTypeCh…
…eck`
  • Loading branch information
JoostK committed Dec 6, 2019
1 parent 34d26b8 commit d918d11
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions aio/content/guide/template-typecheck.md
Expand Up @@ -46,8 +46,7 @@ The following still have type `any`.
### Strict mode

Angular version 9 maintains the behavior of the `fullTemplateTypeCheck` flag, and introduces a third "strict mode".
Strict mode is accessed by setting the `strictTemplates` flag to `true`, which implies that `fullTemplateTypeCheck` is also enabled.
It is therefore OK to not specify `fullTemplateTypeCheck` or to set it to `true`. Setting `fullTemplateTypeCheck` to `false` in this mode is an error.
Strict mode is a superset of full mode, and is accessed by setting the `strictTemplates` flag to true. This flag supersedes the `fullTemplateTypeCheck` flag.
In strict mode, Angular version 9 adds checks that go beyond the version 8 type-checker.
Note that strict mode is only available if using Ivy.

Expand Down

0 comments on commit d918d11

Please sign in to comment.