UNPKG

907 BTypeScriptView Raw
1/**
2 * @license
3 * Copyright Google Inc. 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';
9interface Options extends ts.CompilerOptions {
10 genDir?: string;
11 basePath?: string;
12 skipMetadataEmit?: boolean;
13 strictMetadataEmit?: boolean;
14 skipTemplateCodegen?: boolean;
15 flatModuleOutFile?: string;
16 flatModuleId?: string;
17 generateCodeForLibraries?: boolean;
18 annotateForClosureCompiler?: boolean;
19 annotationsAs?: 'decorators' | 'static fields';
20 trace?: boolean;
21 /** @deprecated since v4 this option has no effect anymore. */
22 debug?: boolean;
23 enableLegacyTemplate?: boolean;
24 enableSummariesForJit?: boolean;
25 alwaysCompileGeneratedCode?: boolean;
26 preserveWhitespaces?: boolean;
27}
28export default Options;