UNPKG

822 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 { R3InjectableMetadata } from '../../injectable_compiler_2';
9import { R3CompiledExpression } from '../util';
10import { DefinitionMap } from '../view/util';
11import { R3DeclareInjectableMetadata } from './api';
12/**
13 * Compile a Injectable declaration defined by the `R3InjectableMetadata`.
14 */
15export declare function compileDeclareInjectableFromMetadata(meta: R3InjectableMetadata): R3CompiledExpression;
16/**
17 * Gathers the declaration fields for a Injectable into a `DefinitionMap`.
18 */
19export declare function createInjectableDefinitionMap(meta: R3InjectableMetadata): DefinitionMap<R3DeclareInjectableMetadata>;