diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 7613c489920..c240fd561c8 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -2445,83 +2445,74 @@ namespace ts { export type CompilerOptionsValue = string | number | boolean | (string | number)[] | TsConfigOnlyOptions; export interface CompilerOptions { - allowNonTsExtensions?: boolean; + allowJs?: boolean; + /*@internal*/ allowNonTsExtensions?: boolean; + allowSyntheticDefaultImports?: boolean; + allowUnreachableCode?: boolean; + allowUnusedLabels?: boolean; + baseUrl?: string; charset?: string; + /* @internal */ configFilePath?: string; // When options come from a config file, its path is recorded here declaration?: boolean; declarationDir?: string; diagnostics?: boolean; emitBOM?: boolean; - help?: boolean; - init?: boolean; + emitDecoratorMetadata?: boolean; + experimentalDecorators?: boolean; + forceConsistentCasingInFileNames?: boolean; + /*@internal*/help?: boolean; + /*@internal*/init?: boolean; inlineSourceMap?: boolean; inlineSources?: boolean; + isolatedModules?: boolean; jsx?: JsxEmit; - reactNamespace?: string; - listFiles?: boolean; - typesSearchPaths?: string[]; + lib?: string[]; + /*@internal*/listEmittedFiles?: boolean; + /*@internal*/listFiles?: boolean; locale?: string; mapRoot?: string; module?: ModuleKind; + moduleResolution?: ModuleResolutionKind; newLine?: NewLineKind; noEmit?: boolean; noEmitHelpers?: boolean; noEmitOnError?: boolean; noErrorTruncation?: boolean; + noFallthroughCasesInSwitch?: boolean; noImplicitAny?: boolean; + noImplicitReturns?: boolean; noImplicitThis?: boolean; + noImplicitUseStrict?: boolean; noLib?: boolean; noResolve?: boolean; out?: string; - outFile?: string; outDir?: string; + outFile?: string; + paths?: PathSubstitutions; preserveConstEnums?: boolean; - /* @internal */ pretty?: DiagnosticStyle; project?: string; + /* @internal */ pretty?: DiagnosticStyle; + reactNamespace?: string; removeComments?: boolean; rootDir?: string; + rootDirs?: RootPaths; + skipLibCheck?: boolean; + /* @internal */ skipDefaultLibCheck?: boolean; sourceMap?: boolean; sourceRoot?: string; + strictNullChecks?: boolean; + /* @internal */ stripInternal?: boolean; suppressExcessPropertyErrors?: boolean; suppressImplicitAnyIndexErrors?: boolean; + /* @internal */ suppressOutputPathCheck?: boolean; // Do not perform validation of output file name in transpile scenarios target?: ScriptTarget; - version?: boolean; - watch?: boolean; - isolatedModules?: boolean; - experimentalDecorators?: boolean; - emitDecoratorMetadata?: boolean; - moduleResolution?: ModuleResolutionKind; - allowUnusedLabels?: boolean; - allowUnreachableCode?: boolean; - noImplicitReturns?: boolean; - noFallthroughCasesInSwitch?: boolean; - forceConsistentCasingInFileNames?: boolean; - baseUrl?: string; - paths?: PathSubstitutions; - rootDirs?: RootPaths; traceResolution?: boolean; - allowSyntheticDefaultImports?: boolean; - allowJs?: boolean; - noImplicitUseStrict?: boolean; - strictNullChecks?: boolean; - skipLibCheck?: boolean; - listEmittedFiles?: boolean; - lib?: string[]; - /* @internal */ stripInternal?: boolean; - - // Skip checking lib.d.ts to help speed up tests. - /* @internal */ skipDefaultLibCheck?: boolean; - // Do not perform validation of output file name in transpile scenarios - /* @internal */ suppressOutputPathCheck?: boolean; - - /* @internal */ - // When options come from a config file, its path is recorded here - configFilePath?: string; - /* @internal */ - // Path used to used to compute primary search locations - typesRoot?: string; types?: string[]; + /* @internal */ typesRoot?: string; + typesSearchPaths?: string[]; // Path used to used to compute primary search locations + /*@internal*/ version?: boolean; + /*@internal*/ watch?: boolean; - list?: string[]; [option: string]: CompilerOptionsValue | undefined; }