File tree 8 files changed +100
-96
lines changed
tests/baselines/reference
8 files changed +100
-96
lines changed Original file line number Diff line number Diff line change @@ -313,15 +313,16 @@ declare module "typescript" {
313
313
Private = 32 ,
314
314
Protected = 64 ,
315
315
Static = 128 ,
316
- MultiLine = 256 ,
317
- Synthetic = 512 ,
318
- DeclarationFile = 1024 ,
319
- Let = 2048 ,
320
- Const = 4096 ,
321
- OctalLiteral = 8192 ,
322
- Modifier = 243 ,
316
+ Default = 256 ,
317
+ MultiLine = 512 ,
318
+ Synthetic = 1024 ,
319
+ DeclarationFile = 2048 ,
320
+ Let = 4096 ,
321
+ Const = 8192 ,
322
+ OctalLiteral = 16384 ,
323
+ Modifier = 499 ,
323
324
AccessibilityModifier = 112 ,
324
- BlockScoped = 6144 ,
325
+ BlockScoped = 12288 ,
325
326
}
326
327
const enum ParserContextFlags {
327
328
StrictMode = 1 ,
@@ -924,7 +925,7 @@ declare module "typescript" {
924
925
errorModuleName ?: string ;
925
926
}
926
927
interface EmitResolver {
927
- getGeneratedNameForNode ( node : ModuleDeclaration | EnumDeclaration | ImportDeclaration | ExportDeclaration ) : string ;
928
+ getGeneratedNameForNode ( node : Node ) : string ;
928
929
getExpressionNameSubstitution ( node : Identifier ) : string ;
929
930
hasExportDefaultValue ( node : SourceFile ) : boolean ;
930
931
isReferencedImportDeclaration ( node : Node ) : boolean ;
Original file line number Diff line number Diff line change @@ -954,31 +954,34 @@ declare module "typescript" {
954
954
Static = 128,
955
955
>Static : NodeFlags
956
956
957
- MultiLine = 256,
957
+ Default = 256,
958
+ >Default : NodeFlags
959
+
960
+ MultiLine = 512,
958
961
>MultiLine : NodeFlags
959
962
960
- Synthetic = 512 ,
963
+ Synthetic = 1024 ,
961
964
>Synthetic : NodeFlags
962
965
963
- DeclarationFile = 1024 ,
966
+ DeclarationFile = 2048 ,
964
967
>DeclarationFile : NodeFlags
965
968
966
- Let = 2048 ,
969
+ Let = 4096 ,
967
970
>Let : NodeFlags
968
971
969
- Const = 4096 ,
972
+ Const = 8192 ,
970
973
>Const : NodeFlags
971
974
972
- OctalLiteral = 8192 ,
975
+ OctalLiteral = 16384 ,
973
976
>OctalLiteral : NodeFlags
974
977
975
- Modifier = 243 ,
978
+ Modifier = 499 ,
976
979
>Modifier : NodeFlags
977
980
978
981
AccessibilityModifier = 112,
979
982
>AccessibilityModifier : NodeFlags
980
983
981
- BlockScoped = 6144 ,
984
+ BlockScoped = 12288 ,
982
985
>BlockScoped : NodeFlags
983
986
}
984
987
const enum ParserContextFlags {
@@ -2954,13 +2957,10 @@ declare module "typescript" {
2954
2957
interface EmitResolver {
2955
2958
>EmitResolver : EmitResolver
2956
2959
2957
- getGeneratedNameForNode(node: ModuleDeclaration | EnumDeclaration | ImportDeclaration | ExportDeclaration): string;
2958
- >getGeneratedNameForNode : (node: EnumDeclaration | ModuleDeclaration | ImportDeclaration | ExportDeclaration) => string
2959
- >node : EnumDeclaration | ModuleDeclaration | ImportDeclaration | ExportDeclaration
2960
- >ModuleDeclaration : ModuleDeclaration
2961
- >EnumDeclaration : EnumDeclaration
2962
- >ImportDeclaration : ImportDeclaration
2963
- >ExportDeclaration : ExportDeclaration
2960
+ getGeneratedNameForNode(node: Node): string;
2961
+ >getGeneratedNameForNode : (node: Node) => string
2962
+ >node : Node
2963
+ >Node : Node
2964
2964
2965
2965
getExpressionNameSubstitution(node: Identifier): string;
2966
2966
>getExpressionNameSubstitution : (node: Identifier) => string
Original file line number Diff line number Diff line change @@ -344,15 +344,16 @@ declare module "typescript" {
344
344
Private = 32 ,
345
345
Protected = 64 ,
346
346
Static = 128 ,
347
- MultiLine = 256 ,
348
- Synthetic = 512 ,
349
- DeclarationFile = 1024 ,
350
- Let = 2048 ,
351
- Const = 4096 ,
352
- OctalLiteral = 8192 ,
353
- Modifier = 243 ,
347
+ Default = 256 ,
348
+ MultiLine = 512 ,
349
+ Synthetic = 1024 ,
350
+ DeclarationFile = 2048 ,
351
+ Let = 4096 ,
352
+ Const = 8192 ,
353
+ OctalLiteral = 16384 ,
354
+ Modifier = 499 ,
354
355
AccessibilityModifier = 112 ,
355
- BlockScoped = 6144 ,
356
+ BlockScoped = 12288 ,
356
357
}
357
358
const enum ParserContextFlags {
358
359
StrictMode = 1 ,
@@ -955,7 +956,7 @@ declare module "typescript" {
955
956
errorModuleName ?: string ;
956
957
}
957
958
interface EmitResolver {
958
- getGeneratedNameForNode ( node : ModuleDeclaration | EnumDeclaration | ImportDeclaration | ExportDeclaration ) : string ;
959
+ getGeneratedNameForNode ( node : Node ) : string ;
959
960
getExpressionNameSubstitution ( node : Identifier ) : string ;
960
961
hasExportDefaultValue ( node : SourceFile ) : boolean ;
961
962
isReferencedImportDeclaration ( node : Node ) : boolean ;
Original file line number Diff line number Diff line change @@ -1100,31 +1100,34 @@ declare module "typescript" {
1100
1100
Static = 128,
1101
1101
>Static : NodeFlags
1102
1102
1103
- MultiLine = 256,
1103
+ Default = 256,
1104
+ >Default : NodeFlags
1105
+
1106
+ MultiLine = 512,
1104
1107
>MultiLine : NodeFlags
1105
1108
1106
- Synthetic = 512 ,
1109
+ Synthetic = 1024 ,
1107
1110
>Synthetic : NodeFlags
1108
1111
1109
- DeclarationFile = 1024 ,
1112
+ DeclarationFile = 2048 ,
1110
1113
>DeclarationFile : NodeFlags
1111
1114
1112
- Let = 2048 ,
1115
+ Let = 4096 ,
1113
1116
>Let : NodeFlags
1114
1117
1115
- Const = 4096 ,
1118
+ Const = 8192 ,
1116
1119
>Const : NodeFlags
1117
1120
1118
- OctalLiteral = 8192 ,
1121
+ OctalLiteral = 16384 ,
1119
1122
>OctalLiteral : NodeFlags
1120
1123
1121
- Modifier = 243 ,
1124
+ Modifier = 499 ,
1122
1125
>Modifier : NodeFlags
1123
1126
1124
1127
AccessibilityModifier = 112,
1125
1128
>AccessibilityModifier : NodeFlags
1126
1129
1127
- BlockScoped = 6144 ,
1130
+ BlockScoped = 12288 ,
1128
1131
>BlockScoped : NodeFlags
1129
1132
}
1130
1133
const enum ParserContextFlags {
@@ -3100,13 +3103,10 @@ declare module "typescript" {
3100
3103
interface EmitResolver {
3101
3104
>EmitResolver : EmitResolver
3102
3105
3103
- getGeneratedNameForNode(node: ModuleDeclaration | EnumDeclaration | ImportDeclaration | ExportDeclaration): string;
3104
- >getGeneratedNameForNode : (node: EnumDeclaration | ModuleDeclaration | ImportDeclaration | ExportDeclaration) => string
3105
- >node : EnumDeclaration | ModuleDeclaration | ImportDeclaration | ExportDeclaration
3106
- >ModuleDeclaration : ModuleDeclaration
3107
- >EnumDeclaration : EnumDeclaration
3108
- >ImportDeclaration : ImportDeclaration
3109
- >ExportDeclaration : ExportDeclaration
3106
+ getGeneratedNameForNode(node: Node): string;
3107
+ >getGeneratedNameForNode : (node: Node) => string
3108
+ >node : Node
3109
+ >Node : Node
3110
3110
3111
3111
getExpressionNameSubstitution(node: Identifier): string;
3112
3112
>getExpressionNameSubstitution : (node: Identifier) => string
Original file line number Diff line number Diff line change @@ -345,15 +345,16 @@ declare module "typescript" {
345
345
Private = 32 ,
346
346
Protected = 64 ,
347
347
Static = 128 ,
348
- MultiLine = 256 ,
349
- Synthetic = 512 ,
350
- DeclarationFile = 1024 ,
351
- Let = 2048 ,
352
- Const = 4096 ,
353
- OctalLiteral = 8192 ,
354
- Modifier = 243 ,
348
+ Default = 256 ,
349
+ MultiLine = 512 ,
350
+ Synthetic = 1024 ,
351
+ DeclarationFile = 2048 ,
352
+ Let = 4096 ,
353
+ Const = 8192 ,
354
+ OctalLiteral = 16384 ,
355
+ Modifier = 499 ,
355
356
AccessibilityModifier = 112 ,
356
- BlockScoped = 6144 ,
357
+ BlockScoped = 12288 ,
357
358
}
358
359
const enum ParserContextFlags {
359
360
StrictMode = 1 ,
@@ -956,7 +957,7 @@ declare module "typescript" {
956
957
errorModuleName ?: string ;
957
958
}
958
959
interface EmitResolver {
959
- getGeneratedNameForNode ( node : ModuleDeclaration | EnumDeclaration | ImportDeclaration | ExportDeclaration ) : string ;
960
+ getGeneratedNameForNode ( node : Node ) : string ;
960
961
getExpressionNameSubstitution ( node : Identifier ) : string ;
961
962
hasExportDefaultValue ( node : SourceFile ) : boolean ;
962
963
isReferencedImportDeclaration ( node : Node ) : boolean ;
Original file line number Diff line number Diff line change @@ -1050,31 +1050,34 @@ declare module "typescript" {
1050
1050
Static = 128,
1051
1051
>Static : NodeFlags
1052
1052
1053
- MultiLine = 256,
1053
+ Default = 256,
1054
+ >Default : NodeFlags
1055
+
1056
+ MultiLine = 512,
1054
1057
>MultiLine : NodeFlags
1055
1058
1056
- Synthetic = 512 ,
1059
+ Synthetic = 1024 ,
1057
1060
>Synthetic : NodeFlags
1058
1061
1059
- DeclarationFile = 1024 ,
1062
+ DeclarationFile = 2048 ,
1060
1063
>DeclarationFile : NodeFlags
1061
1064
1062
- Let = 2048 ,
1065
+ Let = 4096 ,
1063
1066
>Let : NodeFlags
1064
1067
1065
- Const = 4096 ,
1068
+ Const = 8192 ,
1066
1069
>Const : NodeFlags
1067
1070
1068
- OctalLiteral = 8192 ,
1071
+ OctalLiteral = 16384 ,
1069
1072
>OctalLiteral : NodeFlags
1070
1073
1071
- Modifier = 243 ,
1074
+ Modifier = 499 ,
1072
1075
>Modifier : NodeFlags
1073
1076
1074
1077
AccessibilityModifier = 112,
1075
1078
>AccessibilityModifier : NodeFlags
1076
1079
1077
- BlockScoped = 6144 ,
1080
+ BlockScoped = 12288 ,
1078
1081
>BlockScoped : NodeFlags
1079
1082
}
1080
1083
const enum ParserContextFlags {
@@ -3050,13 +3053,10 @@ declare module "typescript" {
3050
3053
interface EmitResolver {
3051
3054
>EmitResolver : EmitResolver
3052
3055
3053
- getGeneratedNameForNode(node: ModuleDeclaration | EnumDeclaration | ImportDeclaration | ExportDeclaration): string;
3054
- >getGeneratedNameForNode : (node: EnumDeclaration | ModuleDeclaration | ImportDeclaration | ExportDeclaration) => string
3055
- >node : EnumDeclaration | ModuleDeclaration | ImportDeclaration | ExportDeclaration
3056
- >ModuleDeclaration : ModuleDeclaration
3057
- >EnumDeclaration : EnumDeclaration
3058
- >ImportDeclaration : ImportDeclaration
3059
- >ExportDeclaration : ExportDeclaration
3056
+ getGeneratedNameForNode(node: Node): string;
3057
+ >getGeneratedNameForNode : (node: Node) => string
3058
+ >node : Node
3059
+ >Node : Node
3060
3060
3061
3061
getExpressionNameSubstitution(node: Identifier): string;
3062
3062
>getExpressionNameSubstitution : (node: Identifier) => string
Original file line number Diff line number Diff line change @@ -382,15 +382,16 @@ declare module "typescript" {
382
382
Private = 32 ,
383
383
Protected = 64 ,
384
384
Static = 128 ,
385
- MultiLine = 256 ,
386
- Synthetic = 512 ,
387
- DeclarationFile = 1024 ,
388
- Let = 2048 ,
389
- Const = 4096 ,
390
- OctalLiteral = 8192 ,
391
- Modifier = 243 ,
385
+ Default = 256 ,
386
+ MultiLine = 512 ,
387
+ Synthetic = 1024 ,
388
+ DeclarationFile = 2048 ,
389
+ Let = 4096 ,
390
+ Const = 8192 ,
391
+ OctalLiteral = 16384 ,
392
+ Modifier = 499 ,
392
393
AccessibilityModifier = 112 ,
393
- BlockScoped = 6144 ,
394
+ BlockScoped = 12288 ,
394
395
}
395
396
const enum ParserContextFlags {
396
397
StrictMode = 1 ,
@@ -993,7 +994,7 @@ declare module "typescript" {
993
994
errorModuleName ?: string ;
994
995
}
995
996
interface EmitResolver {
996
- getGeneratedNameForNode ( node : ModuleDeclaration | EnumDeclaration | ImportDeclaration | ExportDeclaration ) : string ;
997
+ getGeneratedNameForNode ( node : Node ) : string ;
997
998
getExpressionNameSubstitution ( node : Identifier ) : string ;
998
999
hasExportDefaultValue ( node : SourceFile ) : boolean ;
999
1000
isReferencedImportDeclaration ( node : Node ) : boolean ;
Original file line number Diff line number Diff line change @@ -1223,31 +1223,34 @@ declare module "typescript" {
1223
1223
Static = 128,
1224
1224
>Static : NodeFlags
1225
1225
1226
- MultiLine = 256,
1226
+ Default = 256,
1227
+ >Default : NodeFlags
1228
+
1229
+ MultiLine = 512,
1227
1230
>MultiLine : NodeFlags
1228
1231
1229
- Synthetic = 512 ,
1232
+ Synthetic = 1024 ,
1230
1233
>Synthetic : NodeFlags
1231
1234
1232
- DeclarationFile = 1024 ,
1235
+ DeclarationFile = 2048 ,
1233
1236
>DeclarationFile : NodeFlags
1234
1237
1235
- Let = 2048 ,
1238
+ Let = 4096 ,
1236
1239
>Let : NodeFlags
1237
1240
1238
- Const = 4096 ,
1241
+ Const = 8192 ,
1239
1242
>Const : NodeFlags
1240
1243
1241
- OctalLiteral = 8192 ,
1244
+ OctalLiteral = 16384 ,
1242
1245
>OctalLiteral : NodeFlags
1243
1246
1244
- Modifier = 243 ,
1247
+ Modifier = 499 ,
1245
1248
>Modifier : NodeFlags
1246
1249
1247
1250
AccessibilityModifier = 112,
1248
1251
>AccessibilityModifier : NodeFlags
1249
1252
1250
- BlockScoped = 6144 ,
1253
+ BlockScoped = 12288 ,
1251
1254
>BlockScoped : NodeFlags
1252
1255
}
1253
1256
const enum ParserContextFlags {
@@ -3223,13 +3226,10 @@ declare module "typescript" {
3223
3226
interface EmitResolver {
3224
3227
>EmitResolver : EmitResolver
3225
3228
3226
- getGeneratedNameForNode(node: ModuleDeclaration | EnumDeclaration | ImportDeclaration | ExportDeclaration): string;
3227
- >getGeneratedNameForNode : (node: EnumDeclaration | ModuleDeclaration | ImportDeclaration | ExportDeclaration) => string
3228
- >node : EnumDeclaration | ModuleDeclaration | ImportDeclaration | ExportDeclaration
3229
- >ModuleDeclaration : ModuleDeclaration
3230
- >EnumDeclaration : EnumDeclaration
3231
- >ImportDeclaration : ImportDeclaration
3232
- >ExportDeclaration : ExportDeclaration
3229
+ getGeneratedNameForNode(node: Node): string;
3230
+ >getGeneratedNameForNode : (node: Node) => string
3231
+ >node : Node
3232
+ >Node : Node
3233
3233
3234
3234
getExpressionNameSubstitution(node: Identifier): string;
3235
3235
>getExpressionNameSubstitution : (node: Identifier) => string
You can’t perform that action at this time.
0 commit comments