Previously the template type-checking code only considered the metadata of directive classes actually referenced in the template. If those directives had base classes, any inputs/outputs/etc of the base classes were not tracked when generating the TCB. This resulted in bindings to those inputs being incorrectly attributed to the host component or element. This commit uses the new metadata package to follow directive inheritance chains and use the full metadata for a directive for TCB generation. Testing strategy: Template type-checking tests included. PR Close #29698
13 lines
431 B
TypeScript
13 lines
431 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/
|
|
|
|
export * from './src/api';
|
|
export {DtsMetadataReader} from './src/dts';
|
|
export {CompoundMetadataRegistry, LocalMetadataRegistry} from './src/registry';
|
|
export {extractDirectiveGuards, CompoundMetadataReader} from './src/util';
|