Skip to content

Commit 6b8109a

Browse files
committed
Merge pull request microsoft#8850 from Microsoft/reorderOptions
Reorder options alphabetically
2 parents d36d2b3 + 7eb5f4b commit 6b8109a

1 file changed

Lines changed: 35 additions & 44 deletions

File tree

src/compiler/types.ts

Lines changed: 35 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -2483,83 +2483,74 @@ namespace ts {
24832483
export type CompilerOptionsValue = string | number | boolean | (string | number)[] | TsConfigOnlyOptions;
24842484

24852485
export interface CompilerOptions {
2486-
allowNonTsExtensions?: boolean;
2486+
allowJs?: boolean;
2487+
/*@internal*/ allowNonTsExtensions?: boolean;
2488+
allowSyntheticDefaultImports?: boolean;
2489+
allowUnreachableCode?: boolean;
2490+
allowUnusedLabels?: boolean;
2491+
baseUrl?: string;
24872492
charset?: string;
2493+
/* @internal */ configFilePath?: string;
24882494
declaration?: boolean;
24892495
declarationDir?: string;
2490-
diagnostics?: boolean;
2496+
/* @internal */ diagnostics?: boolean;
24912497
emitBOM?: boolean;
2492-
help?: boolean;
2493-
init?: boolean;
2498+
emitDecoratorMetadata?: boolean;
2499+
experimentalDecorators?: boolean;
2500+
forceConsistentCasingInFileNames?: boolean;
2501+
/*@internal*/help?: boolean;
2502+
/*@internal*/init?: boolean;
24942503
inlineSourceMap?: boolean;
24952504
inlineSources?: boolean;
2505+
isolatedModules?: boolean;
24962506
jsx?: JsxEmit;
2497-
reactNamespace?: string;
2498-
listFiles?: boolean;
2499-
typesSearchPaths?: string[];
2507+
lib?: string[];
2508+
/*@internal*/listEmittedFiles?: boolean;
2509+
/*@internal*/listFiles?: boolean;
25002510
locale?: string;
25012511
mapRoot?: string;
25022512
module?: ModuleKind;
2513+
moduleResolution?: ModuleResolutionKind;
25032514
newLine?: NewLineKind;
25042515
noEmit?: boolean;
25052516
noEmitHelpers?: boolean;
25062517
noEmitOnError?: boolean;
25072518
noErrorTruncation?: boolean;
2519+
noFallthroughCasesInSwitch?: boolean;
25082520
noImplicitAny?: boolean;
2521+
noImplicitReturns?: boolean;
25092522
noImplicitThis?: boolean;
2523+
noImplicitUseStrict?: boolean;
25102524
noLib?: boolean;
25112525
noResolve?: boolean;
25122526
out?: string;
2513-
outFile?: string;
25142527
outDir?: string;
2528+
outFile?: string;
2529+
paths?: PathSubstitutions;
25152530
preserveConstEnums?: boolean;
2516-
/* @internal */ pretty?: DiagnosticStyle;
25172531
project?: string;
2532+
/* @internal */ pretty?: DiagnosticStyle;
2533+
reactNamespace?: string;
25182534
removeComments?: boolean;
25192535
rootDir?: string;
2536+
rootDirs?: RootPaths;
2537+
skipLibCheck?: boolean;
2538+
skipDefaultLibCheck?: boolean;
25202539
sourceMap?: boolean;
25212540
sourceRoot?: string;
2541+
strictNullChecks?: boolean;
2542+
/* @internal */ stripInternal?: boolean;
25222543
suppressExcessPropertyErrors?: boolean;
25232544
suppressImplicitAnyIndexErrors?: boolean;
2545+
/* @internal */ suppressOutputPathCheck?: boolean;
25242546
target?: ScriptTarget;
2525-
version?: boolean;
2526-
watch?: boolean;
2527-
isolatedModules?: boolean;
2528-
experimentalDecorators?: boolean;
2529-
emitDecoratorMetadata?: boolean;
2530-
moduleResolution?: ModuleResolutionKind;
2531-
allowUnusedLabels?: boolean;
2532-
allowUnreachableCode?: boolean;
2533-
noImplicitReturns?: boolean;
2534-
noFallthroughCasesInSwitch?: boolean;
2535-
forceConsistentCasingInFileNames?: boolean;
2536-
baseUrl?: string;
2537-
paths?: PathSubstitutions;
2538-
rootDirs?: RootPaths;
25392547
traceResolution?: boolean;
2540-
allowSyntheticDefaultImports?: boolean;
2541-
allowJs?: boolean;
2542-
noImplicitUseStrict?: boolean;
2543-
strictNullChecks?: boolean;
2544-
skipLibCheck?: boolean;
2545-
listEmittedFiles?: boolean;
2546-
lib?: string[];
2547-
/* @internal */ stripInternal?: boolean;
2548-
2549-
// Skip checking lib.d.ts to help speed up tests.
2550-
/* @internal */ skipDefaultLibCheck?: boolean;
2551-
// Do not perform validation of output file name in transpile scenarios
2552-
/* @internal */ suppressOutputPathCheck?: boolean;
2553-
2554-
/* @internal */
2555-
// When options come from a config file, its path is recorded here
2556-
configFilePath?: string;
2557-
/* @internal */
2558-
// Path used to used to compute primary search locations
2559-
typesRoot?: string;
25602548
types?: string[];
2549+
/* @internal */ typesRoot?: string;
2550+
typesSearchPaths?: string[];
2551+
/*@internal*/ version?: boolean;
2552+
/*@internal*/ watch?: boolean;
25612553

2562-
list?: string[];
25632554
[option: string]: CompilerOptionsValue | undefined;
25642555
}
25652556

0 commit comments

Comments
 (0)