docs: add note about strictTemplates and strictNullChecks together (#34039)

PR Close #34039
This commit is contained in:
Kapunahele Wong 2019-11-25 14:37:02 -05:00 committed by Matias Niemelä
parent 5ff98fe701
commit 78c65c330f
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ In case of a false positive like these, there are a few options:
* Use the [`$any()` type-cast function](guide/template-syntax#any-type-cast-function) in certain contexts to opt out of type-checking for a part of the expression.
* You can disable strict checks entirely by setting `strictTemplates: false` in the application's TypeScript configuration file, `tsconfig.json`.
* You can disable certain type-checking operations individually, while maintaining strictness in other aspects, by setting a _strictness flag_ to `false`.
* If you want to use `strictTemplates` and `strictNullChecks` together, you can opt out of strict null type checking specifically for input bindings via `strictNullInputTypes`.
|Strictness flag|Effect|
|-|-|