Last change
on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
945 bytes
|
Line | |
---|
1 | /**
|
---|
2 | * @license
|
---|
3 | * Copyright Google LLC All Rights Reserved.
|
---|
4 | *
|
---|
5 | * Use of this source code is governed by an MIT-style license that can be
|
---|
6 | * found in the LICENSE file at https://angular.io/license
|
---|
7 | */
|
---|
8 | /// <amd-module name="@angular/compiler-cli/src/ngtsc/metadata/src/inheritance" />
|
---|
9 | import { Reference } from '../../imports';
|
---|
10 | import { ClassDeclaration } from '../../reflection';
|
---|
11 | import { DirectiveMeta, MetadataReader } from './api';
|
---|
12 | /**
|
---|
13 | * Given a reference to a directive, return a flattened version of its `DirectiveMeta` metadata
|
---|
14 | * which includes metadata from its entire inheritance chain.
|
---|
15 | *
|
---|
16 | * The returned `DirectiveMeta` will either have `baseClass: null` if the inheritance chain could be
|
---|
17 | * fully resolved, or `baseClass: 'dynamic'` if the inheritance chain could not be completely
|
---|
18 | * followed.
|
---|
19 | */
|
---|
20 | export declare function flattenInheritedDirectiveMetadata(reader: MetadataReader, dir: Reference<ClassDeclaration>): DirectiveMeta;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.