refactor(ivy): verify template type check options are compatible (#34195)

It is now an error if '"fullTemplateTypeCheck"' is disabled while
`"strictTemplates"` is enabled, as enabling the latter implies that the
former is also enabled.

PR Close #34195
This commit is contained in:
JoostK
2019-12-02 21:38:48 +01:00
committed by Alex Rickabaugh
parent 1de49ba369
commit 2e82357611
4 changed files with 74 additions and 0 deletions

View File

@ -114,6 +114,8 @@ export interface CompilerOptions extends ts.CompilerOptions {
* whether embedded views are checked.
*
* For maximum type-checking, set this to `true`, and set `strictTemplates` to `true`.
*
* It is an error for this flag to be `false`, while `strictTemplates` is set to `true`.
*/
fullTemplateTypeCheck?: boolean;