Last change
on this file since e29cc2e was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
896 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 | import { CompileReflector } from './compile_reflector';
|
---|
9 | import { Directive, Type } from './core';
|
---|
10 | export declare class DirectiveResolver {
|
---|
11 | private _reflector;
|
---|
12 | constructor(_reflector: CompileReflector);
|
---|
13 | isDirective(type: Type): boolean;
|
---|
14 | /**
|
---|
15 | * Return {@link Directive} for a given `Type`.
|
---|
16 | */
|
---|
17 | resolve(type: Type): Directive;
|
---|
18 | resolve(type: Type, throwIfNotFound: true): Directive;
|
---|
19 | resolve(type: Type, throwIfNotFound: boolean): Directive | null;
|
---|
20 | private _mergeWithPropertyMetadata;
|
---|
21 | private _extractPublicName;
|
---|
22 | private _dedupeBindings;
|
---|
23 | private _merge;
|
---|
24 | }
|
---|
25 | export declare function findLast<T>(arr: T[], condition: (value: T) => boolean): T | null;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.