From f5baa55b817a1ad2197ed100ca10b77c975201df Mon Sep 17 00:00:00 2001 From: Minko Gechev Date: Tue, 13 Jul 2021 16:01:01 -0700 Subject: [PATCH] docs: remove reference to an obsolete design doc (#42842) The type checking design document is no longer relevant. This PR removes the reference to it. Close #42424. PR Close #42842 --- packages/compiler/design/architecture.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/compiler/design/architecture.md b/packages/compiler/design/architecture.md index 69efd44d9c..5dfc2a13b1 100644 --- a/packages/compiler/design/architecture.md +++ b/packages/compiler/design/architecture.md @@ -296,7 +296,7 @@ Type guards require determining which directives apply to an element to determin Correctly typing an expression that includes a pipe requires determining the result type of the `transform` method of the type. -Additionally, more advanced type-checking as described in [Type Checking Templates](https://goo.gl/Q3tSgP) also requires determining the types of the directives that apply to an element as well as how the attributes map to the properties of the directives. +Additionally, more advanced type-checking also requires determining the types of the directives that apply to an element as well as how the attributes map to the properties of the directives. The types of directives can be found using a selector scope as described for reference inversion. Once a selector scope is produced, the component and directives that apply to an element can be determined from the selector scope. The `.d.ts` changes described above also includes the attribute to property maps. The `TypeGuard`s are recorded as static fields that are included in the `.d.ts` file of the directive.