@@ -2291,14 +2291,12 @@ namespace ts.server.protocol {
2291
2291
body ?: NavigationTree ;
2292
2292
}
2293
2293
2294
- export namespace IndentStyle {
2295
- export type None = "None" ;
2296
- export type Block = "Block" ;
2297
- export type Smart = "Smart" ;
2294
+ export const enum IndentStyle {
2295
+ None = "None" ,
2296
+ Block = "Block" ,
2297
+ Smart = "Smart" ,
2298
2298
}
2299
2299
2300
- export type IndentStyle = IndentStyle . None | IndentStyle . Block | IndentStyle . Smart ;
2301
-
2302
2300
export interface EditorSettings {
2303
2301
baseIndentSize ?: number ;
2304
2302
indentSize ?: number ;
@@ -2395,47 +2393,37 @@ namespace ts.server.protocol {
2395
2393
[ option : string ] : CompilerOptionsValue | undefined ;
2396
2394
}
2397
2395
2398
- export namespace JsxEmit {
2399
- export type None = "None" ;
2400
- export type Preserve = "Preserve" ;
2401
- export type ReactNative = "ReactNative" ;
2402
- export type React = "React" ;
2396
+ export const enum JsxEmit {
2397
+ None = "None" ,
2398
+ Preserve = "Preserve" ,
2399
+ ReactNative = "ReactNative" ,
2400
+ React = "React" ,
2403
2401
}
2404
2402
2405
- export type JsxEmit = JsxEmit . None | JsxEmit . Preserve | JsxEmit . React | JsxEmit . ReactNative ;
2406
-
2407
- export namespace ModuleKind {
2408
- export type None = "None" ;
2409
- export type CommonJS = "CommonJS" ;
2410
- export type AMD = "AMD" ;
2411
- export type UMD = "UMD" ;
2412
- export type System = "System" ;
2413
- export type ES6 = "ES6" ;
2414
- export type ES2015 = "ES2015" ;
2403
+ export const enum ModuleKind {
2404
+ None = "None" ,
2405
+ CommonJS = "CommonJS" ,
2406
+ AMD = "AMD" ,
2407
+ UMD = "UMD" ,
2408
+ System = "System" ,
2409
+ ES6 = "ES6" ,
2410
+ ES2015 = "ES2015" ,
2415
2411
}
2416
2412
2417
- export type ModuleKind = ModuleKind . None | ModuleKind . CommonJS | ModuleKind . AMD | ModuleKind . UMD | ModuleKind . System | ModuleKind . ES6 | ModuleKind . ES2015 ;
2418
-
2419
- export namespace ModuleResolutionKind {
2420
- export type Classic = "Classic" ;
2421
- export type Node = "Node" ;
2413
+ export const enum ModuleResolutionKind {
2414
+ Classic = "Classic" ,
2415
+ Node = "Node" ,
2422
2416
}
2423
2417
2424
- export type ModuleResolutionKind = ModuleResolutionKind . Classic | ModuleResolutionKind . Node ;
2425
-
2426
- export namespace NewLineKind {
2427
- export type Crlf = "Crlf" ;
2428
- export type Lf = "Lf" ;
2418
+ export const enum NewLineKind {
2419
+ Crlf ,
2420
+ Lf ,
2429
2421
}
2430
2422
2431
- export type NewLineKind = NewLineKind . Crlf | NewLineKind . Lf ;
2432
-
2433
- export namespace ScriptTarget {
2434
- export type ES3 = "ES3" ;
2435
- export type ES5 = "ES5" ;
2436
- export type ES6 = "ES6" ;
2437
- export type ES2015 = "ES2015" ;
2423
+ export const enum ScriptTarget {
2424
+ ES3 = "ES3" ,
2425
+ ES5 = "ES5" ,
2426
+ ES6 = "ES6" ,
2427
+ ES2015 = "ES2015" ,
2438
2428
}
2439
-
2440
- export type ScriptTarget = ScriptTarget . ES3 | ScriptTarget . ES5 | ScriptTarget . ES6 | ScriptTarget . ES2015 ;
2441
2429
}
0 commit comments