1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | import { StaticReflector, StaticSymbol } from '@angular/compiler';
|
10 | import * as ts from 'typescript';
|
11 | import { MetadataTransformer, ValueTransform } from './metadata_cache';
|
12 | export declare type Transformer = (sourceFile: ts.SourceFile) => ts.SourceFile;
|
13 | export declare type TransformerFactory = (context: ts.TransformationContext) => Transformer;
|
14 | export declare function getDecoratorStripTransformerFactory(coreDecorators: Set<StaticSymbol>, reflector: StaticReflector, checker: ts.TypeChecker): TransformerFactory;
|
15 | export declare class StripDecoratorsMetadataTransformer implements MetadataTransformer {
|
16 | private coreDecorators;
|
17 | private reflector;
|
18 | constructor(coreDecorators: Set<StaticSymbol>, reflector: StaticReflector);
|
19 | start(sourceFile: ts.SourceFile): ValueTransform | undefined;
|
20 | }
|