UNPKG

857 BTypeScriptView Raw
1/**
2 * @license
3 * Copyright Google Inc. 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/**
9 * Provides read-only access to reflection data about symbols. Used internally by Angular
10 * to power dependency injection and compilation.
11 */
12export declare abstract class ReflectorReader {
13 abstract parameters(typeOrFunc: any): any[][];
14 abstract annotations(typeOrFunc: any): any[];
15 abstract propMetadata(typeOrFunc: any): {
16 [key: string]: any[];
17 };
18 abstract importUri(typeOrFunc: any): string | null;
19 abstract resourceUri(typeOrFunc: any): string;
20 abstract resolveIdentifier(name: string, moduleUrl: string, members: string[], runtime: any): any;
21 abstract resolveEnum(identifier: any, name: string): any;
22}