UNPKG

650 BTypeScriptView Raw
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 */
8import * as o from '../output/output_ast';
9import { R3CompiledExpression, R3Reference } from './util';
10export interface R3InjectorMetadata {
11 name: string;
12 type: R3Reference;
13 internalType: o.Expression;
14 providers: o.Expression | null;
15 imports: o.Expression[];
16}
17export declare function compileInjector(meta: R3InjectorMetadata): R3CompiledExpression;
18export declare function createInjectorType(meta: R3InjectorMetadata): o.Type;