From fba72f0d4df8c76e029015c742b144f323ee1d56 Mon Sep 17 00:00:00 2001 From: Judy Bogart Date: Mon, 14 Oct 2019 12:01:20 -0700 Subject: [PATCH] docs: rewrite ivy page, add template typecheck doc (#33152) PR Close #33152 --- .github/CODEOWNERS | 1 - aio/content/guide/aot-compiler.md | 15 +++++ aio/content/guide/ivy-compatibility.md | 22 +++--- aio/content/guide/ivy.md | 93 +++++++++++++++++--------- aio/content/navigation.json | 10 +-- 5 files changed, 93 insertions(+), 48 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index bc88d19e0b..231a7642d3 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -471,7 +471,6 @@ /aio/content/guide/web-worker.md @angular/tools-cli @angular/framework-global-approvers @angular/framework-global-approvers-for-docs-only-changes - # ================================================ # @angular/core # @angular/common (except @angular/common/http) diff --git a/aio/content/guide/aot-compiler.md b/aio/content/guide/aot-compiler.md index f89d371650..b8db50e0a3 100644 --- a/aio/content/guide/aot-compiler.md +++ b/aio/content/guide/aot-compiler.md @@ -564,10 +564,25 @@ It does not, however, rewrite the `.d.ts` file, so TypeScript doesn't recognize {@a binding-expression-validation} ## Phase 3: Template type checking +One of the Angular compiler's most helpful features is the ability to type-check expressions within templates, and catch any errors before they cause crashes at runtime. In the template type-checking phase, the Angular template compiler uses the TypeScript compiler to validate the binding expressions in templates. + Enable this phase explicitly by adding the compiler option `"fullTemplateTypeCheck"` in the `"angularCompilerOptions"` of the project's `tsconfig.json` (see [Angular Compiler Options](guide/angular-compiler-options)). +