From 78c65c330f3f12a13b708740472ee7fc5ecdeeb8 Mon Sep 17 00:00:00 2001 From: Kapunahele Wong Date: Mon, 25 Nov 2019 14:37:02 -0500 Subject: [PATCH] docs: add note about strictTemplates and strictNullChecks together (#34039) PR Close #34039 --- aio/content/guide/template-typecheck.md | 1 + 1 file changed, 1 insertion(+) diff --git a/aio/content/guide/template-typecheck.md b/aio/content/guide/template-typecheck.md index d6599b4dcf..7d9ab17bde 100644 --- a/aio/content/guide/template-typecheck.md +++ b/aio/content/guide/template-typecheck.md @@ -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| |-|-|