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
This commit is contained in:
Minko Gechev 2021-07-13 16:01:01 -07:00 committed by Alex Rickabaugh
parent 4e97514465
commit f5baa55b81
1 changed files with 1 additions and 1 deletions

View File

@ -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.