UNPKG

881 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 ts from 'typescript';
9export declare function createAotTransformers(builder: ts.BuilderProgram, options: {
10 emitClassMetadata?: boolean;
11 emitNgModuleScope?: boolean;
12}): ts.CustomTransformers;
13export declare function createJitTransformers(builder: ts.BuilderProgram, options: {
14 directTemplateLoading?: boolean;
15 inlineStyleMimeType?: string;
16 inlineStyleFileExtension?: string;
17}): ts.CustomTransformers;
18export declare function mergeTransformers(first: ts.CustomTransformers, second: ts.CustomTransformers): ts.CustomTransformers;
19export declare function replaceBootstrap(getTypeChecker: () => ts.TypeChecker): ts.TransformerFactory<ts.SourceFile>;