UNPKG

@angular/compiler-cli

Version:
21 lines (20 loc) 1 kB
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import { ConstantPool, R3DeclareInjectableMetadata, R3InjectableMetadata, R3PartialDeclaration } from '@angular/compiler'; import { AstObject } from '../../ast/ast_value'; import { LinkedDefinition, PartialLinker } from './partial_linker'; /** * A `PartialLinker` that is designed to process `ɵɵngDeclareInjectable()` call expressions. */ export declare class PartialInjectableLinkerVersion1<TExpression> implements PartialLinker<TExpression> { linkPartialDeclaration(constantPool: ConstantPool, metaObj: AstObject<R3PartialDeclaration, TExpression>): LinkedDefinition; } /** * Derives the `R3InjectableMetadata` structure from the AST object. */ export declare function toR3InjectableMeta<TExpression>(metaObj: AstObject<R3DeclareInjectableMetadata, TExpression>): R3InjectableMetadata;