typescript 5.5.0-dev.20240227 → 5.5.0-dev.20240229
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/tsc.js +924 -2246
- package/lib/tsserver.js +1030 -2378
- package/lib/typescript.d.ts +75 -155
- package/lib/typescript.js +1033 -2371
- package/lib/typingsInstaller.js +298 -362
- package/package.json +2 -2
package/lib/typingsInstaller.js
CHANGED
|
@@ -54,7 +54,7 @@ var path = __toESM(require("path"));
|
|
|
54
54
|
|
|
55
55
|
// src/compiler/corePublic.ts
|
|
56
56
|
var versionMajorMinor = "5.5";
|
|
57
|
-
var version = `${versionMajorMinor}.0-dev.
|
|
57
|
+
var version = `${versionMajorMinor}.0-dev.20240229`;
|
|
58
58
|
|
|
59
59
|
// src/compiler/core.ts
|
|
60
60
|
var emptyArray = [];
|
|
@@ -2765,64 +2765,57 @@ var SyntaxKind = /* @__PURE__ */ ((SyntaxKind4) => {
|
|
|
2765
2765
|
SyntaxKind4[SyntaxKind4["ShorthandPropertyAssignment"] = 304] = "ShorthandPropertyAssignment";
|
|
2766
2766
|
SyntaxKind4[SyntaxKind4["SpreadAssignment"] = 305] = "SpreadAssignment";
|
|
2767
2767
|
SyntaxKind4[SyntaxKind4["EnumMember"] = 306] = "EnumMember";
|
|
2768
|
-
SyntaxKind4[SyntaxKind4["
|
|
2769
|
-
SyntaxKind4[SyntaxKind4["
|
|
2770
|
-
SyntaxKind4[SyntaxKind4["
|
|
2771
|
-
SyntaxKind4[SyntaxKind4["
|
|
2772
|
-
SyntaxKind4[SyntaxKind4["
|
|
2773
|
-
SyntaxKind4[SyntaxKind4["
|
|
2774
|
-
SyntaxKind4[SyntaxKind4["
|
|
2775
|
-
SyntaxKind4[SyntaxKind4["
|
|
2776
|
-
SyntaxKind4[SyntaxKind4["
|
|
2777
|
-
SyntaxKind4[SyntaxKind4["
|
|
2778
|
-
SyntaxKind4[SyntaxKind4["
|
|
2779
|
-
SyntaxKind4[SyntaxKind4["
|
|
2780
|
-
SyntaxKind4[SyntaxKind4["
|
|
2781
|
-
SyntaxKind4[SyntaxKind4["
|
|
2782
|
-
SyntaxKind4[SyntaxKind4["
|
|
2783
|
-
SyntaxKind4[SyntaxKind4["
|
|
2784
|
-
SyntaxKind4[SyntaxKind4["
|
|
2785
|
-
SyntaxKind4[SyntaxKind4["
|
|
2786
|
-
SyntaxKind4[SyntaxKind4["
|
|
2787
|
-
SyntaxKind4[SyntaxKind4["
|
|
2788
|
-
SyntaxKind4[SyntaxKind4["
|
|
2789
|
-
SyntaxKind4[SyntaxKind4["
|
|
2790
|
-
SyntaxKind4[SyntaxKind4["
|
|
2791
|
-
SyntaxKind4[SyntaxKind4["
|
|
2792
|
-
SyntaxKind4[SyntaxKind4["
|
|
2793
|
-
SyntaxKind4[SyntaxKind4["
|
|
2794
|
-
SyntaxKind4[SyntaxKind4["
|
|
2795
|
-
SyntaxKind4[SyntaxKind4["
|
|
2796
|
-
SyntaxKind4[SyntaxKind4["
|
|
2797
|
-
SyntaxKind4[SyntaxKind4["
|
|
2798
|
-
SyntaxKind4[SyntaxKind4["
|
|
2799
|
-
SyntaxKind4[SyntaxKind4["
|
|
2800
|
-
SyntaxKind4[SyntaxKind4["
|
|
2801
|
-
SyntaxKind4[SyntaxKind4["
|
|
2802
|
-
SyntaxKind4[SyntaxKind4["
|
|
2803
|
-
SyntaxKind4[SyntaxKind4["
|
|
2804
|
-
SyntaxKind4[SyntaxKind4["
|
|
2805
|
-
SyntaxKind4[SyntaxKind4["
|
|
2806
|
-
SyntaxKind4[SyntaxKind4["
|
|
2807
|
-
SyntaxKind4[SyntaxKind4["
|
|
2808
|
-
SyntaxKind4[SyntaxKind4["
|
|
2809
|
-
SyntaxKind4[SyntaxKind4["
|
|
2810
|
-
SyntaxKind4[SyntaxKind4["
|
|
2811
|
-
SyntaxKind4[SyntaxKind4["
|
|
2812
|
-
SyntaxKind4[SyntaxKind4["
|
|
2813
|
-
SyntaxKind4[SyntaxKind4["
|
|
2814
|
-
SyntaxKind4[SyntaxKind4["
|
|
2815
|
-
SyntaxKind4[SyntaxKind4["
|
|
2816
|
-
SyntaxKind4[SyntaxKind4["
|
|
2817
|
-
SyntaxKind4[SyntaxKind4["
|
|
2818
|
-
SyntaxKind4[SyntaxKind4["
|
|
2819
|
-
SyntaxKind4[SyntaxKind4["JSDocSatisfiesTag"] = 357] = "JSDocSatisfiesTag";
|
|
2820
|
-
SyntaxKind4[SyntaxKind4["SyntaxList"] = 358] = "SyntaxList";
|
|
2821
|
-
SyntaxKind4[SyntaxKind4["NotEmittedStatement"] = 359] = "NotEmittedStatement";
|
|
2822
|
-
SyntaxKind4[SyntaxKind4["PartiallyEmittedExpression"] = 360] = "PartiallyEmittedExpression";
|
|
2823
|
-
SyntaxKind4[SyntaxKind4["CommaListExpression"] = 361] = "CommaListExpression";
|
|
2824
|
-
SyntaxKind4[SyntaxKind4["SyntheticReferenceExpression"] = 362] = "SyntheticReferenceExpression";
|
|
2825
|
-
SyntaxKind4[SyntaxKind4["Count"] = 363] = "Count";
|
|
2768
|
+
SyntaxKind4[SyntaxKind4["SourceFile"] = 307] = "SourceFile";
|
|
2769
|
+
SyntaxKind4[SyntaxKind4["Bundle"] = 308] = "Bundle";
|
|
2770
|
+
SyntaxKind4[SyntaxKind4["JSDocTypeExpression"] = 309] = "JSDocTypeExpression";
|
|
2771
|
+
SyntaxKind4[SyntaxKind4["JSDocNameReference"] = 310] = "JSDocNameReference";
|
|
2772
|
+
SyntaxKind4[SyntaxKind4["JSDocMemberName"] = 311] = "JSDocMemberName";
|
|
2773
|
+
SyntaxKind4[SyntaxKind4["JSDocAllType"] = 312] = "JSDocAllType";
|
|
2774
|
+
SyntaxKind4[SyntaxKind4["JSDocUnknownType"] = 313] = "JSDocUnknownType";
|
|
2775
|
+
SyntaxKind4[SyntaxKind4["JSDocNullableType"] = 314] = "JSDocNullableType";
|
|
2776
|
+
SyntaxKind4[SyntaxKind4["JSDocNonNullableType"] = 315] = "JSDocNonNullableType";
|
|
2777
|
+
SyntaxKind4[SyntaxKind4["JSDocOptionalType"] = 316] = "JSDocOptionalType";
|
|
2778
|
+
SyntaxKind4[SyntaxKind4["JSDocFunctionType"] = 317] = "JSDocFunctionType";
|
|
2779
|
+
SyntaxKind4[SyntaxKind4["JSDocVariadicType"] = 318] = "JSDocVariadicType";
|
|
2780
|
+
SyntaxKind4[SyntaxKind4["JSDocNamepathType"] = 319] = "JSDocNamepathType";
|
|
2781
|
+
SyntaxKind4[SyntaxKind4["JSDoc"] = 320] = "JSDoc";
|
|
2782
|
+
SyntaxKind4[SyntaxKind4["JSDocComment"] = 320 /* JSDoc */] = "JSDocComment";
|
|
2783
|
+
SyntaxKind4[SyntaxKind4["JSDocText"] = 321] = "JSDocText";
|
|
2784
|
+
SyntaxKind4[SyntaxKind4["JSDocTypeLiteral"] = 322] = "JSDocTypeLiteral";
|
|
2785
|
+
SyntaxKind4[SyntaxKind4["JSDocSignature"] = 323] = "JSDocSignature";
|
|
2786
|
+
SyntaxKind4[SyntaxKind4["JSDocLink"] = 324] = "JSDocLink";
|
|
2787
|
+
SyntaxKind4[SyntaxKind4["JSDocLinkCode"] = 325] = "JSDocLinkCode";
|
|
2788
|
+
SyntaxKind4[SyntaxKind4["JSDocLinkPlain"] = 326] = "JSDocLinkPlain";
|
|
2789
|
+
SyntaxKind4[SyntaxKind4["JSDocTag"] = 327] = "JSDocTag";
|
|
2790
|
+
SyntaxKind4[SyntaxKind4["JSDocAugmentsTag"] = 328] = "JSDocAugmentsTag";
|
|
2791
|
+
SyntaxKind4[SyntaxKind4["JSDocImplementsTag"] = 329] = "JSDocImplementsTag";
|
|
2792
|
+
SyntaxKind4[SyntaxKind4["JSDocAuthorTag"] = 330] = "JSDocAuthorTag";
|
|
2793
|
+
SyntaxKind4[SyntaxKind4["JSDocDeprecatedTag"] = 331] = "JSDocDeprecatedTag";
|
|
2794
|
+
SyntaxKind4[SyntaxKind4["JSDocClassTag"] = 332] = "JSDocClassTag";
|
|
2795
|
+
SyntaxKind4[SyntaxKind4["JSDocPublicTag"] = 333] = "JSDocPublicTag";
|
|
2796
|
+
SyntaxKind4[SyntaxKind4["JSDocPrivateTag"] = 334] = "JSDocPrivateTag";
|
|
2797
|
+
SyntaxKind4[SyntaxKind4["JSDocProtectedTag"] = 335] = "JSDocProtectedTag";
|
|
2798
|
+
SyntaxKind4[SyntaxKind4["JSDocReadonlyTag"] = 336] = "JSDocReadonlyTag";
|
|
2799
|
+
SyntaxKind4[SyntaxKind4["JSDocOverrideTag"] = 337] = "JSDocOverrideTag";
|
|
2800
|
+
SyntaxKind4[SyntaxKind4["JSDocCallbackTag"] = 338] = "JSDocCallbackTag";
|
|
2801
|
+
SyntaxKind4[SyntaxKind4["JSDocOverloadTag"] = 339] = "JSDocOverloadTag";
|
|
2802
|
+
SyntaxKind4[SyntaxKind4["JSDocEnumTag"] = 340] = "JSDocEnumTag";
|
|
2803
|
+
SyntaxKind4[SyntaxKind4["JSDocParameterTag"] = 341] = "JSDocParameterTag";
|
|
2804
|
+
SyntaxKind4[SyntaxKind4["JSDocReturnTag"] = 342] = "JSDocReturnTag";
|
|
2805
|
+
SyntaxKind4[SyntaxKind4["JSDocThisTag"] = 343] = "JSDocThisTag";
|
|
2806
|
+
SyntaxKind4[SyntaxKind4["JSDocTypeTag"] = 344] = "JSDocTypeTag";
|
|
2807
|
+
SyntaxKind4[SyntaxKind4["JSDocTemplateTag"] = 345] = "JSDocTemplateTag";
|
|
2808
|
+
SyntaxKind4[SyntaxKind4["JSDocTypedefTag"] = 346] = "JSDocTypedefTag";
|
|
2809
|
+
SyntaxKind4[SyntaxKind4["JSDocSeeTag"] = 347] = "JSDocSeeTag";
|
|
2810
|
+
SyntaxKind4[SyntaxKind4["JSDocPropertyTag"] = 348] = "JSDocPropertyTag";
|
|
2811
|
+
SyntaxKind4[SyntaxKind4["JSDocThrowsTag"] = 349] = "JSDocThrowsTag";
|
|
2812
|
+
SyntaxKind4[SyntaxKind4["JSDocSatisfiesTag"] = 350] = "JSDocSatisfiesTag";
|
|
2813
|
+
SyntaxKind4[SyntaxKind4["SyntaxList"] = 351] = "SyntaxList";
|
|
2814
|
+
SyntaxKind4[SyntaxKind4["NotEmittedStatement"] = 352] = "NotEmittedStatement";
|
|
2815
|
+
SyntaxKind4[SyntaxKind4["PartiallyEmittedExpression"] = 353] = "PartiallyEmittedExpression";
|
|
2816
|
+
SyntaxKind4[SyntaxKind4["CommaListExpression"] = 354] = "CommaListExpression";
|
|
2817
|
+
SyntaxKind4[SyntaxKind4["SyntheticReferenceExpression"] = 355] = "SyntheticReferenceExpression";
|
|
2818
|
+
SyntaxKind4[SyntaxKind4["Count"] = 356] = "Count";
|
|
2826
2819
|
SyntaxKind4[SyntaxKind4["FirstAssignment"] = 64 /* EqualsToken */] = "FirstAssignment";
|
|
2827
2820
|
SyntaxKind4[SyntaxKind4["LastAssignment"] = 79 /* CaretEqualsToken */] = "LastAssignment";
|
|
2828
2821
|
SyntaxKind4[SyntaxKind4["FirstCompoundAssignment"] = 65 /* PlusEqualsToken */] = "FirstCompoundAssignment";
|
|
@@ -2850,10 +2843,10 @@ var SyntaxKind = /* @__PURE__ */ ((SyntaxKind4) => {
|
|
|
2850
2843
|
SyntaxKind4[SyntaxKind4["FirstStatement"] = 243 /* VariableStatement */] = "FirstStatement";
|
|
2851
2844
|
SyntaxKind4[SyntaxKind4["LastStatement"] = 259 /* DebuggerStatement */] = "LastStatement";
|
|
2852
2845
|
SyntaxKind4[SyntaxKind4["FirstNode"] = 166 /* QualifiedName */] = "FirstNode";
|
|
2853
|
-
SyntaxKind4[SyntaxKind4["FirstJSDocNode"] =
|
|
2854
|
-
SyntaxKind4[SyntaxKind4["LastJSDocNode"] =
|
|
2855
|
-
SyntaxKind4[SyntaxKind4["FirstJSDocTagNode"] =
|
|
2856
|
-
SyntaxKind4[SyntaxKind4["LastJSDocTagNode"] =
|
|
2846
|
+
SyntaxKind4[SyntaxKind4["FirstJSDocNode"] = 309 /* JSDocTypeExpression */] = "FirstJSDocNode";
|
|
2847
|
+
SyntaxKind4[SyntaxKind4["LastJSDocNode"] = 350 /* JSDocSatisfiesTag */] = "LastJSDocNode";
|
|
2848
|
+
SyntaxKind4[SyntaxKind4["FirstJSDocTagNode"] = 327 /* JSDocTag */] = "FirstJSDocTagNode";
|
|
2849
|
+
SyntaxKind4[SyntaxKind4["LastJSDocTagNode"] = 350 /* JSDocSatisfiesTag */] = "LastJSDocTagNode";
|
|
2857
2850
|
SyntaxKind4[SyntaxKind4["FirstContextualKeyword"] = 128 /* AbstractKeyword */] = "FirstContextualKeyword";
|
|
2858
2851
|
SyntaxKind4[SyntaxKind4["LastContextualKeyword"] = 165 /* OfKeyword */] = "LastContextualKeyword";
|
|
2859
2852
|
return SyntaxKind4;
|
|
@@ -5120,7 +5113,7 @@ var Diagnostics = {
|
|
|
5120
5113
|
A_set_accessor_parameter_cannot_have_an_initializer: diag(1052, 1 /* Error */, "A_set_accessor_parameter_cannot_have_an_initializer_1052", "A 'set' accessor parameter cannot have an initializer."),
|
|
5121
5114
|
A_set_accessor_cannot_have_rest_parameter: diag(1053, 1 /* Error */, "A_set_accessor_cannot_have_rest_parameter_1053", "A 'set' accessor cannot have rest parameter."),
|
|
5122
5115
|
A_get_accessor_cannot_have_parameters: diag(1054, 1 /* Error */, "A_get_accessor_cannot_have_parameters_1054", "A 'get' accessor cannot have parameters."),
|
|
5123
|
-
|
|
5116
|
+
Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compatible_constructor_value: diag(1055, 1 /* Error */, "Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compa_1055", "Type '{0}' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value."),
|
|
5124
5117
|
Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher: diag(1056, 1 /* Error */, "Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056", "Accessors are only available when targeting ECMAScript 5 and higher."),
|
|
5125
5118
|
The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member: diag(1058, 1 /* Error */, "The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_t_1058", "The return type of an async function must either be a valid promise or must not contain a callable 'then' member."),
|
|
5126
5119
|
A_promise_must_have_a_then_method: diag(1059, 1 /* Error */, "A_promise_must_have_a_then_method_1059", "A promise must have a 'then' method."),
|
|
@@ -5279,9 +5272,9 @@ var Diagnostics = {
|
|
|
5279
5272
|
A_type_literal_property_cannot_have_an_initializer: diag(1247, 1 /* Error */, "A_type_literal_property_cannot_have_an_initializer_1247", "A type literal property cannot have an initializer."),
|
|
5280
5273
|
A_class_member_cannot_have_the_0_keyword: diag(1248, 1 /* Error */, "A_class_member_cannot_have_the_0_keyword_1248", "A class member cannot have the '{0}' keyword."),
|
|
5281
5274
|
A_decorator_can_only_decorate_a_method_implementation_not_an_overload: diag(1249, 1 /* Error */, "A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249", "A decorator can only decorate a method implementation, not an overload."),
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
|
|
5275
|
+
Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5: diag(1250, 1 /* Error */, "Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_1250", "Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'."),
|
|
5276
|
+
Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Class_definitions_are_automatically_in_strict_mode: diag(1251, 1 /* Error */, "Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Class_definiti_1251", "Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. Class definitions are automatically in strict mode."),
|
|
5277
|
+
Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Modules_are_automatically_in_strict_mode: diag(1252, 1 /* Error */, "Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Modules_are_au_1252", "Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. Modules are automatically in strict mode."),
|
|
5285
5278
|
Abstract_properties_can_only_appear_within_an_abstract_class: diag(1253, 1 /* Error */, "Abstract_properties_can_only_appear_within_an_abstract_class_1253", "Abstract properties can only appear within an abstract class."),
|
|
5286
5279
|
A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference: diag(1254, 1 /* Error */, "A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254", "A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),
|
|
5287
5280
|
A_definite_assignment_assertion_is_not_permitted_in_this_context: diag(1255, 1 /* Error */, "A_definite_assignment_assertion_is_not_permitted_in_this_context_1255", "A definite assignment assertion '!' is not permitted in this context."),
|
|
@@ -5380,7 +5373,6 @@ var Diagnostics = {
|
|
|
5380
5373
|
Split_all_invalid_type_only_imports: diag(1367, 3 /* Message */, "Split_all_invalid_type_only_imports_1367", "Split all invalid type-only imports"),
|
|
5381
5374
|
Class_constructor_may_not_be_a_generator: diag(1368, 1 /* Error */, "Class_constructor_may_not_be_a_generator_1368", "Class constructor may not be a generator."),
|
|
5382
5375
|
Did_you_mean_0: diag(1369, 3 /* Message */, "Did_you_mean_0_1369", "Did you mean '{0}'?"),
|
|
5383
|
-
This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error: diag(1371, 1 /* Error */, "This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set__1371", "This import is never used as a value and must use 'import type' because 'importsNotUsedAsValues' is set to 'error'."),
|
|
5384
5376
|
await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module: diag(1375, 1 /* Error */, "await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_fi_1375", "'await' expressions are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),
|
|
5385
5377
|
_0_was_imported_here: diag(1376, 3 /* Message */, "_0_was_imported_here_1376", "'{0}' was imported here."),
|
|
5386
5378
|
_0_was_exported_here: diag(1377, 3 /* Message */, "_0_was_exported_here_1377", "'{0}' was exported here."),
|
|
@@ -5447,8 +5439,6 @@ var Diagnostics = {
|
|
|
5447
5439
|
Cannot_start_a_function_call_in_a_type_annotation: diag(1441, 1 /* Error */, "Cannot_start_a_function_call_in_a_type_annotation_1441", "Cannot start a function call in a type annotation."),
|
|
5448
5440
|
Expected_for_property_initializer: diag(1442, 1 /* Error */, "Expected_for_property_initializer_1442", "Expected '=' for property initializer."),
|
|
5449
5441
|
Module_declaration_names_may_only_use_or_quoted_strings: diag(1443, 1 /* Error */, "Module_declaration_names_may_only_use_or_quoted_strings_1443", `Module declaration names may only use ' or " quoted strings.`),
|
|
5450
|
-
_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled: diag(1444, 1 /* Error */, "_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedMod_1444", "'{0}' is a type and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled."),
|
|
5451
|
-
_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled: diag(1446, 1 /* Error */, "_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveVa_1446", "'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled."),
|
|
5452
5442
|
_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled: diag(1448, 1 /* Error */, "_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_1448", "'{0}' resolves to a type-only declaration and must be re-exported using a type-only re-export when '{1}' is enabled."),
|
|
5453
5443
|
Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed: diag(1449, 3 /* Message */, "Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed_1449", "Preserve unused imported values in the JavaScript output that would otherwise be removed."),
|
|
5454
5444
|
Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments: diag(1450, 3 /* Message */, "Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments_1450", "Dynamic imports can only accept a module specifier and an optional set of attributes as arguments"),
|
|
@@ -5718,7 +5708,7 @@ var Diagnostics = {
|
|
|
5718
5708
|
Tuple_type_0_of_length_1_has_no_element_at_index_2: diag(2493, 1 /* Error */, "Tuple_type_0_of_length_1_has_no_element_at_index_2_2493", "Tuple type '{0}' of length '{1}' has no element at index '{2}'."),
|
|
5719
5709
|
Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher: diag(2494, 1 /* Error */, "Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494", "Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher."),
|
|
5720
5710
|
Type_0_is_not_an_array_type_or_a_string_type: diag(2495, 1 /* Error */, "Type_0_is_not_an_array_type_or_a_string_type_2495", "Type '{0}' is not an array type or a string type."),
|
|
5721
|
-
|
|
5711
|
+
The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES5_Consider_using_a_standard_function_expression: diag(2496, 1 /* Error */, "The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES5_Consider_using_a_standard_func_2496", "The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression."),
|
|
5722
5712
|
This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export: diag(2497, 1 /* Error */, "This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497", "This module can only be referenced with ECMAScript imports/exports by turning on the '{0}' flag and referencing its default export."),
|
|
5723
5713
|
Module_0_uses_export_and_cannot_be_used_with_export_Asterisk: diag(2498, 1 /* Error */, "Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498", "Module '{0}' uses 'export =' and cannot be used with 'export *'."),
|
|
5724
5714
|
An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments: diag(2499, 1 /* Error */, "An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499", "An interface can only extend an identifier/qualified-name with optional type arguments."),
|
|
@@ -5743,7 +5733,7 @@ var Diagnostics = {
|
|
|
5743
5733
|
A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard: diag(2518, 1 /* Error */, "A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518", "A 'this'-based type guard is not compatible with a parameter-based type guard."),
|
|
5744
5734
|
An_async_iterator_must_have_a_next_method: diag(2519, 1 /* Error */, "An_async_iterator_must_have_a_next_method_2519", "An async iterator must have a 'next()' method."),
|
|
5745
5735
|
Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions: diag(2520, 1 /* Error */, "Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520", "Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."),
|
|
5746
|
-
|
|
5736
|
+
The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES5_Consider_using_a_standard_function_or_method: diag(2522, 1 /* Error */, "The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES5_Consider_using_a_sta_2522", "The 'arguments' object cannot be referenced in an async function or method in ES5. Consider using a standard function or method."),
|
|
5747
5737
|
yield_expressions_cannot_be_used_in_a_parameter_initializer: diag(2523, 1 /* Error */, "yield_expressions_cannot_be_used_in_a_parameter_initializer_2523", "'yield' expressions cannot be used in a parameter initializer."),
|
|
5748
5738
|
await_expressions_cannot_be_used_in_a_parameter_initializer: diag(2524, 1 /* Error */, "await_expressions_cannot_be_used_in_a_parameter_initializer_2524", "'await' expressions cannot be used in a parameter initializer."),
|
|
5749
5739
|
Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value: diag(2525, 1 /* Error */, "Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value_2525", "Initializer provides no value for this binding element and the binding element has no default value."),
|
|
@@ -5903,14 +5893,14 @@ var Diagnostics = {
|
|
|
5903
5893
|
_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here: diag(2702, 1 /* Error */, "_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702", "'{0}' only refers to a type, but is being used as a namespace here."),
|
|
5904
5894
|
The_operand_of_a_delete_operator_must_be_a_property_reference: diag(2703, 1 /* Error */, "The_operand_of_a_delete_operator_must_be_a_property_reference_2703", "The operand of a 'delete' operator must be a property reference."),
|
|
5905
5895
|
The_operand_of_a_delete_operator_cannot_be_a_read_only_property: diag(2704, 1 /* Error */, "The_operand_of_a_delete_operator_cannot_be_a_read_only_property_2704", "The operand of a 'delete' operator cannot be a read-only property."),
|
|
5906
|
-
|
|
5896
|
+
An_async_function_or_method_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option: diag(2705, 1 /* Error */, "An_async_function_or_method_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_2705", "An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."),
|
|
5907
5897
|
Required_type_parameters_may_not_follow_optional_type_parameters: diag(2706, 1 /* Error */, "Required_type_parameters_may_not_follow_optional_type_parameters_2706", "Required type parameters may not follow optional type parameters."),
|
|
5908
5898
|
Generic_type_0_requires_between_1_and_2_type_arguments: diag(2707, 1 /* Error */, "Generic_type_0_requires_between_1_and_2_type_arguments_2707", "Generic type '{0}' requires between {1} and {2} type arguments."),
|
|
5909
5899
|
Cannot_use_namespace_0_as_a_value: diag(2708, 1 /* Error */, "Cannot_use_namespace_0_as_a_value_2708", "Cannot use namespace '{0}' as a value."),
|
|
5910
5900
|
Cannot_use_namespace_0_as_a_type: diag(2709, 1 /* Error */, "Cannot_use_namespace_0_as_a_type_2709", "Cannot use namespace '{0}' as a type."),
|
|
5911
5901
|
_0_are_specified_twice_The_attribute_named_0_will_be_overwritten: diag(2710, 1 /* Error */, "_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710", "'{0}' are specified twice. The attribute named '{0}' will be overwritten."),
|
|
5912
5902
|
A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option: diag(2711, 1 /* Error */, "A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711", "A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."),
|
|
5913
|
-
|
|
5903
|
+
A_dynamic_import_call_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option: diag(2712, 1 /* Error */, "A_dynamic_import_call_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_t_2712", "A dynamic import call in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."),
|
|
5914
5904
|
Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1: diag(2713, 1 /* Error */, "Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_p_2713", `Cannot access '{0}.{1}' because '{0}' is a type, but not a namespace. Did you mean to retrieve the type of the property '{1}' in '{0}' with '{0}["{1}"]'?`),
|
|
5915
5905
|
The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context: diag(2714, 1 /* Error */, "The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context_2714", "The expression of an export assignment must be an identifier or qualified name in an ambient context."),
|
|
5916
5906
|
Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor: diag(2715, 1 /* Error */, "Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor_2715", "Abstract property '{0}' in class '{1}' cannot be accessed in the constructor."),
|
|
@@ -6176,7 +6166,6 @@ var Diagnostics = {
|
|
|
6176
6166
|
Could_not_write_file_0_Colon_1: diag(5033, 1 /* Error */, "Could_not_write_file_0_Colon_1_5033", "Could not write file '{0}': {1}."),
|
|
6177
6167
|
Option_project_cannot_be_mixed_with_source_files_on_a_command_line: diag(5042, 1 /* Error */, "Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042", "Option 'project' cannot be mixed with source files on a command line."),
|
|
6178
6168
|
Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher: diag(5047, 1 /* Error */, "Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047", "Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher."),
|
|
6179
|
-
Option_0_cannot_be_specified_when_option_target_is_ES3: diag(5048, 1 /* Error */, "Option_0_cannot_be_specified_when_option_target_is_ES3_5048", "Option '{0}' cannot be specified when option 'target' is 'ES3'."),
|
|
6180
6169
|
Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided: diag(5051, 1 /* Error */, "Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051", "Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided."),
|
|
6181
6170
|
Option_0_cannot_be_specified_without_specifying_option_1: diag(5052, 1 /* Error */, "Option_0_cannot_be_specified_without_specifying_option_1_5052", "Option '{0}' cannot be specified without specifying option '{1}'."),
|
|
6182
6171
|
Option_0_cannot_be_specified_with_option_1: diag(5053, 1 /* Error */, "Option_0_cannot_be_specified_with_option_1_5053", "Option '{0}' cannot be specified with option '{1}'."),
|
|
@@ -6398,7 +6387,7 @@ var Diagnostics = {
|
|
|
6398
6387
|
Show_all_compiler_options: diag(6169, 3 /* Message */, "Show_all_compiler_options_6169", "Show all compiler options."),
|
|
6399
6388
|
Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file: diag(6170, 3 /* Message */, "Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170", "[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file"),
|
|
6400
6389
|
Command_line_Options: diag(6171, 3 /* Message */, "Command_line_Options_6171", "Command-line Options"),
|
|
6401
|
-
|
|
6390
|
+
Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5: diag(6179, 3 /* Message */, "Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_6179", "Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5'."),
|
|
6402
6391
|
Enable_all_strict_type_checking_options: diag(6180, 3 /* Message */, "Enable_all_strict_type_checking_options_6180", "Enable all strict type-checking options."),
|
|
6403
6392
|
Scoped_package_detected_looking_in_0: diag(6182, 3 /* Message */, "Scoped_package_detected_looking_in_0_6182", "Scoped package detected, looking in '{0}'"),
|
|
6404
6393
|
Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2: diag(6183, 3 /* Message */, "Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_6183", "Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),
|
|
@@ -6526,8 +6515,6 @@ var Diagnostics = {
|
|
|
6526
6515
|
Output_file_0_has_not_been_built_from_source_file_1: diag(6305, 1 /* Error */, "Output_file_0_has_not_been_built_from_source_file_1_6305", "Output file '{0}' has not been built from source file '{1}'."),
|
|
6527
6516
|
Referenced_project_0_must_have_setting_composite_Colon_true: diag(6306, 1 /* Error */, "Referenced_project_0_must_have_setting_composite_Colon_true_6306", `Referenced project '{0}' must have setting "composite": true.`),
|
|
6528
6517
|
File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern: diag(6307, 1 /* Error */, "File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_includ_6307", "File '{0}' is not listed within the file list of project '{1}'. Projects must list all files or use an 'include' pattern."),
|
|
6529
|
-
Cannot_prepend_project_0_because_it_does_not_have_outFile_set: diag(6308, 1 /* Error */, "Cannot_prepend_project_0_because_it_does_not_have_outFile_set_6308", "Cannot prepend project '{0}' because it does not have 'outFile' set"),
|
|
6530
|
-
Output_file_0_from_project_1_does_not_exist: diag(6309, 1 /* Error */, "Output_file_0_from_project_1_does_not_exist_6309", "Output file '{0}' from project '{1}' does not exist"),
|
|
6531
6518
|
Referenced_project_0_may_not_disable_emit: diag(6310, 1 /* Error */, "Referenced_project_0_may_not_disable_emit_6310", "Referenced project '{0}' may not disable emit."),
|
|
6532
6519
|
Project_0_is_out_of_date_because_output_1_is_older_than_input_2: diag(6350, 3 /* Message */, "Project_0_is_out_of_date_because_output_1_is_older_than_input_2_6350", "Project '{0}' is out of date because output '{1}' is older than input '{2}'"),
|
|
6533
6520
|
Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2: diag(6351, 3 /* Message */, "Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351", "Project '{0}' is up to date because newest input '{1}' is older than output '{2}'"),
|
|
@@ -6548,11 +6535,7 @@ var Diagnostics = {
|
|
|
6548
6535
|
Option_build_must_be_the_first_command_line_argument: diag(6369, 1 /* Error */, "Option_build_must_be_the_first_command_line_argument_6369", "Option '--build' must be the first command line argument."),
|
|
6549
6536
|
Options_0_and_1_cannot_be_combined: diag(6370, 1 /* Error */, "Options_0_and_1_cannot_be_combined_6370", "Options '{0}' and '{1}' cannot be combined."),
|
|
6550
6537
|
Updating_unchanged_output_timestamps_of_project_0: diag(6371, 3 /* Message */, "Updating_unchanged_output_timestamps_of_project_0_6371", "Updating unchanged output timestamps of project '{0}'..."),
|
|
6551
|
-
Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed: diag(6372, 3 /* Message */, "Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372", "Project '{0}' is out of date because output of its dependency '{1}' has changed"),
|
|
6552
|
-
Updating_output_of_project_0: diag(6373, 3 /* Message */, "Updating_output_of_project_0_6373", "Updating output of project '{0}'..."),
|
|
6553
6538
|
A_non_dry_build_would_update_timestamps_for_output_of_project_0: diag(6374, 3 /* Message */, "A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374", "A non-dry build would update timestamps for output of project '{0}'"),
|
|
6554
|
-
A_non_dry_build_would_update_output_of_project_0: diag(6375, 3 /* Message */, "A_non_dry_build_would_update_output_of_project_0_6375", "A non-dry build would update output of project '{0}'"),
|
|
6555
|
-
Cannot_update_output_of_project_0_because_there_was_error_reading_file_1: diag(6376, 3 /* Message */, "Cannot_update_output_of_project_0_because_there_was_error_reading_file_1_6376", "Cannot update output of project '{0}' because there was error reading file '{1}'"),
|
|
6556
6539
|
Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1: diag(6377, 1 /* Error */, "Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1_6377", "Cannot write file '{0}' because it will overwrite '.tsbuildinfo' file generated by referenced project '{1}'"),
|
|
6557
6540
|
Composite_projects_may_not_disable_incremental_compilation: diag(6379, 1 /* Error */, "Composite_projects_may_not_disable_incremental_compilation_6379", "Composite projects may not disable incremental compilation."),
|
|
6558
6541
|
Specify_file_to_store_incremental_compilation_information: diag(6380, 3 /* Message */, "Specify_file_to_store_incremental_compilation_information_6380", "Specify file to store incremental compilation information"),
|
|
@@ -7346,8 +7329,6 @@ var textToToken = new Map(Object.entries({
|
|
|
7346
7329
|
"#": 63 /* HashToken */,
|
|
7347
7330
|
"`": 62 /* BacktickToken */
|
|
7348
7331
|
}));
|
|
7349
|
-
var unicodeES3IdentifierStart = [170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 543, 546, 563, 592, 685, 688, 696, 699, 705, 720, 721, 736, 740, 750, 750, 890, 890, 902, 902, 904, 906, 908, 908, 910, 929, 931, 974, 976, 983, 986, 1011, 1024, 1153, 1164, 1220, 1223, 1224, 1227, 1228, 1232, 1269, 1272, 1273, 1329, 1366, 1369, 1369, 1377, 1415, 1488, 1514, 1520, 1522, 1569, 1594, 1600, 1610, 1649, 1747, 1749, 1749, 1765, 1766, 1786, 1788, 1808, 1808, 1810, 1836, 1920, 1957, 2309, 2361, 2365, 2365, 2384, 2384, 2392, 2401, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2524, 2525, 2527, 2529, 2544, 2545, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2649, 2652, 2654, 2654, 2674, 2676, 2693, 2699, 2701, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2749, 2749, 2768, 2768, 2784, 2784, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2870, 2873, 2877, 2877, 2908, 2909, 2911, 2913, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 2997, 2999, 3001, 3077, 3084, 3086, 3088, 3090, 3112, 3114, 3123, 3125, 3129, 3168, 3169, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3294, 3294, 3296, 3297, 3333, 3340, 3342, 3344, 3346, 3368, 3370, 3385, 3424, 3425, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3585, 3632, 3634, 3635, 3648, 3654, 3713, 3714, 3716, 3716, 3719, 3720, 3722, 3722, 3725, 3725, 3732, 3735, 3737, 3743, 3745, 3747, 3749, 3749, 3751, 3751, 3754, 3755, 3757, 3760, 3762, 3763, 3773, 3773, 3776, 3780, 3782, 3782, 3804, 3805, 3840, 3840, 3904, 3911, 3913, 3946, 3976, 3979, 4096, 4129, 4131, 4135, 4137, 4138, 4176, 4181, 4256, 4293, 4304, 4342, 4352, 4441, 4447, 4514, 4520, 4601, 4608, 4614, 4616, 4678, 4680, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4742, 4744, 4744, 4746, 4749, 4752, 4782, 4784, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4814, 4816, 4822, 4824, 4846, 4848, 4878, 4880, 4880, 4882, 4885, 4888, 4894, 4896, 4934, 4936, 4954, 5024, 5108, 5121, 5740, 5743, 5750, 5761, 5786, 5792, 5866, 6016, 6067, 6176, 6263, 6272, 6312, 7680, 7835, 7840, 7929, 7936, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8319, 8319, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8473, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8493, 8495, 8497, 8499, 8505, 8544, 8579, 12293, 12295, 12321, 12329, 12337, 12341, 12344, 12346, 12353, 12436, 12445, 12446, 12449, 12538, 12540, 12542, 12549, 12588, 12593, 12686, 12704, 12727, 13312, 19893, 19968, 40869, 40960, 42124, 44032, 55203, 63744, 64045, 64256, 64262, 64275, 64279, 64285, 64285, 64287, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65136, 65138, 65140, 65140, 65142, 65276, 65313, 65338, 65345, 65370, 65382, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500];
|
|
7350
|
-
var unicodeES3IdentifierPart = [170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 543, 546, 563, 592, 685, 688, 696, 699, 705, 720, 721, 736, 740, 750, 750, 768, 846, 864, 866, 890, 890, 902, 902, 904, 906, 908, 908, 910, 929, 931, 974, 976, 983, 986, 1011, 1024, 1153, 1155, 1158, 1164, 1220, 1223, 1224, 1227, 1228, 1232, 1269, 1272, 1273, 1329, 1366, 1369, 1369, 1377, 1415, 1425, 1441, 1443, 1465, 1467, 1469, 1471, 1471, 1473, 1474, 1476, 1476, 1488, 1514, 1520, 1522, 1569, 1594, 1600, 1621, 1632, 1641, 1648, 1747, 1749, 1756, 1759, 1768, 1770, 1773, 1776, 1788, 1808, 1836, 1840, 1866, 1920, 1968, 2305, 2307, 2309, 2361, 2364, 2381, 2384, 2388, 2392, 2403, 2406, 2415, 2433, 2435, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2492, 2492, 2494, 2500, 2503, 2504, 2507, 2509, 2519, 2519, 2524, 2525, 2527, 2531, 2534, 2545, 2562, 2562, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2620, 2620, 2622, 2626, 2631, 2632, 2635, 2637, 2649, 2652, 2654, 2654, 2662, 2676, 2689, 2691, 2693, 2699, 2701, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2748, 2757, 2759, 2761, 2763, 2765, 2768, 2768, 2784, 2784, 2790, 2799, 2817, 2819, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2870, 2873, 2876, 2883, 2887, 2888, 2891, 2893, 2902, 2903, 2908, 2909, 2911, 2913, 2918, 2927, 2946, 2947, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 2997, 2999, 3001, 3006, 3010, 3014, 3016, 3018, 3021, 3031, 3031, 3047, 3055, 3073, 3075, 3077, 3084, 3086, 3088, 3090, 3112, 3114, 3123, 3125, 3129, 3134, 3140, 3142, 3144, 3146, 3149, 3157, 3158, 3168, 3169, 3174, 3183, 3202, 3203, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3262, 3268, 3270, 3272, 3274, 3277, 3285, 3286, 3294, 3294, 3296, 3297, 3302, 3311, 3330, 3331, 3333, 3340, 3342, 3344, 3346, 3368, 3370, 3385, 3390, 3395, 3398, 3400, 3402, 3405, 3415, 3415, 3424, 3425, 3430, 3439, 3458, 3459, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3530, 3530, 3535, 3540, 3542, 3542, 3544, 3551, 3570, 3571, 3585, 3642, 3648, 3662, 3664, 3673, 3713, 3714, 3716, 3716, 3719, 3720, 3722, 3722, 3725, 3725, 3732, 3735, 3737, 3743, 3745, 3747, 3749, 3749, 3751, 3751, 3754, 3755, 3757, 3769, 3771, 3773, 3776, 3780, 3782, 3782, 3784, 3789, 3792, 3801, 3804, 3805, 3840, 3840, 3864, 3865, 3872, 3881, 3893, 3893, 3895, 3895, 3897, 3897, 3902, 3911, 3913, 3946, 3953, 3972, 3974, 3979, 3984, 3991, 3993, 4028, 4038, 4038, 4096, 4129, 4131, 4135, 4137, 4138, 4140, 4146, 4150, 4153, 4160, 4169, 4176, 4185, 4256, 4293, 4304, 4342, 4352, 4441, 4447, 4514, 4520, 4601, 4608, 4614, 4616, 4678, 4680, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4742, 4744, 4744, 4746, 4749, 4752, 4782, 4784, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4814, 4816, 4822, 4824, 4846, 4848, 4878, 4880, 4880, 4882, 4885, 4888, 4894, 4896, 4934, 4936, 4954, 4969, 4977, 5024, 5108, 5121, 5740, 5743, 5750, 5761, 5786, 5792, 5866, 6016, 6099, 6112, 6121, 6160, 6169, 6176, 6263, 6272, 6313, 7680, 7835, 7840, 7929, 7936, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8255, 8256, 8319, 8319, 8400, 8412, 8417, 8417, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8473, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8493, 8495, 8497, 8499, 8505, 8544, 8579, 12293, 12295, 12321, 12335, 12337, 12341, 12344, 12346, 12353, 12436, 12441, 12442, 12445, 12446, 12449, 12542, 12549, 12588, 12593, 12686, 12704, 12727, 13312, 19893, 19968, 40869, 40960, 42124, 44032, 55203, 63744, 64045, 64256, 64262, 64275, 64279, 64285, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65056, 65059, 65075, 65076, 65101, 65103, 65136, 65138, 65140, 65140, 65142, 65276, 65296, 65305, 65313, 65338, 65343, 65343, 65345, 65370, 65381, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500];
|
|
7351
7332
|
var unicodeES5IdentifierStart = [170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 705, 710, 721, 736, 740, 748, 748, 750, 750, 880, 884, 886, 887, 890, 893, 902, 902, 904, 906, 908, 908, 910, 929, 931, 1013, 1015, 1153, 1162, 1319, 1329, 1366, 1369, 1369, 1377, 1415, 1488, 1514, 1520, 1522, 1568, 1610, 1646, 1647, 1649, 1747, 1749, 1749, 1765, 1766, 1774, 1775, 1786, 1788, 1791, 1791, 1808, 1808, 1810, 1839, 1869, 1957, 1969, 1969, 1994, 2026, 2036, 2037, 2042, 2042, 2048, 2069, 2074, 2074, 2084, 2084, 2088, 2088, 2112, 2136, 2208, 2208, 2210, 2220, 2308, 2361, 2365, 2365, 2384, 2384, 2392, 2401, 2417, 2423, 2425, 2431, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2493, 2493, 2510, 2510, 2524, 2525, 2527, 2529, 2544, 2545, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2649, 2652, 2654, 2654, 2674, 2676, 2693, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2749, 2749, 2768, 2768, 2784, 2785, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2869, 2873, 2877, 2877, 2908, 2909, 2911, 2913, 2929, 2929, 2947, 2947, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 3001, 3024, 3024, 3077, 3084, 3086, 3088, 3090, 3112, 3114, 3123, 3125, 3129, 3133, 3133, 3160, 3161, 3168, 3169, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3261, 3261, 3294, 3294, 3296, 3297, 3313, 3314, 3333, 3340, 3342, 3344, 3346, 3386, 3389, 3389, 3406, 3406, 3424, 3425, 3450, 3455, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3585, 3632, 3634, 3635, 3648, 3654, 3713, 3714, 3716, 3716, 3719, 3720, 3722, 3722, 3725, 3725, 3732, 3735, 3737, 3743, 3745, 3747, 3749, 3749, 3751, 3751, 3754, 3755, 3757, 3760, 3762, 3763, 3773, 3773, 3776, 3780, 3782, 3782, 3804, 3807, 3840, 3840, 3904, 3911, 3913, 3948, 3976, 3980, 4096, 4138, 4159, 4159, 4176, 4181, 4186, 4189, 4193, 4193, 4197, 4198, 4206, 4208, 4213, 4225, 4238, 4238, 4256, 4293, 4295, 4295, 4301, 4301, 4304, 4346, 4348, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4744, 4746, 4749, 4752, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4822, 4824, 4880, 4882, 4885, 4888, 4954, 4992, 5007, 5024, 5108, 5121, 5740, 5743, 5759, 5761, 5786, 5792, 5866, 5870, 5872, 5888, 5900, 5902, 5905, 5920, 5937, 5952, 5969, 5984, 5996, 5998, 6e3, 6016, 6067, 6103, 6103, 6108, 6108, 6176, 6263, 6272, 6312, 6314, 6314, 6320, 6389, 6400, 6428, 6480, 6509, 6512, 6516, 6528, 6571, 6593, 6599, 6656, 6678, 6688, 6740, 6823, 6823, 6917, 6963, 6981, 6987, 7043, 7072, 7086, 7087, 7098, 7141, 7168, 7203, 7245, 7247, 7258, 7293, 7401, 7404, 7406, 7409, 7413, 7414, 7424, 7615, 7680, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8305, 8305, 8319, 8319, 8336, 8348, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8473, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8493, 8495, 8505, 8508, 8511, 8517, 8521, 8526, 8526, 8544, 8584, 11264, 11310, 11312, 11358, 11360, 11492, 11499, 11502, 11506, 11507, 11520, 11557, 11559, 11559, 11565, 11565, 11568, 11623, 11631, 11631, 11648, 11670, 11680, 11686, 11688, 11694, 11696, 11702, 11704, 11710, 11712, 11718, 11720, 11726, 11728, 11734, 11736, 11742, 11823, 11823, 12293, 12295, 12321, 12329, 12337, 12341, 12344, 12348, 12353, 12438, 12445, 12447, 12449, 12538, 12540, 12543, 12549, 12589, 12593, 12686, 12704, 12730, 12784, 12799, 13312, 19893, 19968, 40908, 40960, 42124, 42192, 42237, 42240, 42508, 42512, 42527, 42538, 42539, 42560, 42606, 42623, 42647, 42656, 42735, 42775, 42783, 42786, 42888, 42891, 42894, 42896, 42899, 42912, 42922, 43e3, 43009, 43011, 43013, 43015, 43018, 43020, 43042, 43072, 43123, 43138, 43187, 43250, 43255, 43259, 43259, 43274, 43301, 43312, 43334, 43360, 43388, 43396, 43442, 43471, 43471, 43520, 43560, 43584, 43586, 43588, 43595, 43616, 43638, 43642, 43642, 43648, 43695, 43697, 43697, 43701, 43702, 43705, 43709, 43712, 43712, 43714, 43714, 43739, 43741, 43744, 43754, 43762, 43764, 43777, 43782, 43785, 43790, 43793, 43798, 43808, 43814, 43816, 43822, 43968, 44002, 44032, 55203, 55216, 55238, 55243, 55291, 63744, 64109, 64112, 64217, 64256, 64262, 64275, 64279, 64285, 64285, 64287, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65136, 65140, 65142, 65276, 65313, 65338, 65345, 65370, 65382, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500];
|
|
7352
7333
|
var unicodeES5IdentifierPart = [170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 705, 710, 721, 736, 740, 748, 748, 750, 750, 768, 884, 886, 887, 890, 893, 902, 902, 904, 906, 908, 908, 910, 929, 931, 1013, 1015, 1153, 1155, 1159, 1162, 1319, 1329, 1366, 1369, 1369, 1377, 1415, 1425, 1469, 1471, 1471, 1473, 1474, 1476, 1477, 1479, 1479, 1488, 1514, 1520, 1522, 1552, 1562, 1568, 1641, 1646, 1747, 1749, 1756, 1759, 1768, 1770, 1788, 1791, 1791, 1808, 1866, 1869, 1969, 1984, 2037, 2042, 2042, 2048, 2093, 2112, 2139, 2208, 2208, 2210, 2220, 2276, 2302, 2304, 2403, 2406, 2415, 2417, 2423, 2425, 2431, 2433, 2435, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2492, 2500, 2503, 2504, 2507, 2510, 2519, 2519, 2524, 2525, 2527, 2531, 2534, 2545, 2561, 2563, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2620, 2620, 2622, 2626, 2631, 2632, 2635, 2637, 2641, 2641, 2649, 2652, 2654, 2654, 2662, 2677, 2689, 2691, 2693, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2748, 2757, 2759, 2761, 2763, 2765, 2768, 2768, 2784, 2787, 2790, 2799, 2817, 2819, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2869, 2873, 2876, 2884, 2887, 2888, 2891, 2893, 2902, 2903, 2908, 2909, 2911, 2915, 2918, 2927, 2929, 2929, 2946, 2947, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 3001, 3006, 3010, 3014, 3016, 3018, 3021, 3024, 3024, 3031, 3031, 3046, 3055, 3073, 3075, 3077, 3084, 3086, 3088, 3090, 3112, 3114, 3123, 3125, 3129, 3133, 3140, 3142, 3144, 3146, 3149, 3157, 3158, 3160, 3161, 3168, 3171, 3174, 3183, 3202, 3203, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3260, 3268, 3270, 3272, 3274, 3277, 3285, 3286, 3294, 3294, 3296, 3299, 3302, 3311, 3313, 3314, 3330, 3331, 3333, 3340, 3342, 3344, 3346, 3386, 3389, 3396, 3398, 3400, 3402, 3406, 3415, 3415, 3424, 3427, 3430, 3439, 3450, 3455, 3458, 3459, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3530, 3530, 3535, 3540, 3542, 3542, 3544, 3551, 3570, 3571, 3585, 3642, 3648, 3662, 3664, 3673, 3713, 3714, 3716, 3716, 3719, 3720, 3722, 3722, 3725, 3725, 3732, 3735, 3737, 3743, 3745, 3747, 3749, 3749, 3751, 3751, 3754, 3755, 3757, 3769, 3771, 3773, 3776, 3780, 3782, 3782, 3784, 3789, 3792, 3801, 3804, 3807, 3840, 3840, 3864, 3865, 3872, 3881, 3893, 3893, 3895, 3895, 3897, 3897, 3902, 3911, 3913, 3948, 3953, 3972, 3974, 3991, 3993, 4028, 4038, 4038, 4096, 4169, 4176, 4253, 4256, 4293, 4295, 4295, 4301, 4301, 4304, 4346, 4348, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4744, 4746, 4749, 4752, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4822, 4824, 4880, 4882, 4885, 4888, 4954, 4957, 4959, 4992, 5007, 5024, 5108, 5121, 5740, 5743, 5759, 5761, 5786, 5792, 5866, 5870, 5872, 5888, 5900, 5902, 5908, 5920, 5940, 5952, 5971, 5984, 5996, 5998, 6e3, 6002, 6003, 6016, 6099, 6103, 6103, 6108, 6109, 6112, 6121, 6155, 6157, 6160, 6169, 6176, 6263, 6272, 6314, 6320, 6389, 6400, 6428, 6432, 6443, 6448, 6459, 6470, 6509, 6512, 6516, 6528, 6571, 6576, 6601, 6608, 6617, 6656, 6683, 6688, 6750, 6752, 6780, 6783, 6793, 6800, 6809, 6823, 6823, 6912, 6987, 6992, 7001, 7019, 7027, 7040, 7155, 7168, 7223, 7232, 7241, 7245, 7293, 7376, 7378, 7380, 7414, 7424, 7654, 7676, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8204, 8205, 8255, 8256, 8276, 8276, 8305, 8305, 8319, 8319, 8336, 8348, 8400, 8412, 8417, 8417, 8421, 8432, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8473, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8493, 8495, 8505, 8508, 8511, 8517, 8521, 8526, 8526, 8544, 8584, 11264, 11310, 11312, 11358, 11360, 11492, 11499, 11507, 11520, 11557, 11559, 11559, 11565, 11565, 11568, 11623, 11631, 11631, 11647, 11670, 11680, 11686, 11688, 11694, 11696, 11702, 11704, 11710, 11712, 11718, 11720, 11726, 11728, 11734, 11736, 11742, 11744, 11775, 11823, 11823, 12293, 12295, 12321, 12335, 12337, 12341, 12344, 12348, 12353, 12438, 12441, 12442, 12445, 12447, 12449, 12538, 12540, 12543, 12549, 12589, 12593, 12686, 12704, 12730, 12784, 12799, 13312, 19893, 19968, 40908, 40960, 42124, 42192, 42237, 42240, 42508, 42512, 42539, 42560, 42607, 42612, 42621, 42623, 42647, 42655, 42737, 42775, 42783, 42786, 42888, 42891, 42894, 42896, 42899, 42912, 42922, 43e3, 43047, 43072, 43123, 43136, 43204, 43216, 43225, 43232, 43255, 43259, 43259, 43264, 43309, 43312, 43347, 43360, 43388, 43392, 43456, 43471, 43481, 43520, 43574, 43584, 43597, 43600, 43609, 43616, 43638, 43642, 43643, 43648, 43714, 43739, 43741, 43744, 43759, 43762, 43766, 43777, 43782, 43785, 43790, 43793, 43798, 43808, 43814, 43816, 43822, 43968, 44010, 44012, 44013, 44016, 44025, 44032, 55203, 55216, 55238, 55243, 55291, 63744, 64109, 64112, 64217, 64256, 64262, 64275, 64279, 64285, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65024, 65039, 65056, 65062, 65075, 65076, 65101, 65103, 65136, 65140, 65142, 65276, 65296, 65305, 65313, 65338, 65343, 65343, 65345, 65370, 65382, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500];
|
|
7353
7334
|
var unicodeESNextIdentifierStart = [65, 90, 97, 122, 170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 705, 710, 721, 736, 740, 748, 748, 750, 750, 880, 884, 886, 887, 890, 893, 895, 895, 902, 902, 904, 906, 908, 908, 910, 929, 931, 1013, 1015, 1153, 1162, 1327, 1329, 1366, 1369, 1369, 1376, 1416, 1488, 1514, 1519, 1522, 1568, 1610, 1646, 1647, 1649, 1747, 1749, 1749, 1765, 1766, 1774, 1775, 1786, 1788, 1791, 1791, 1808, 1808, 1810, 1839, 1869, 1957, 1969, 1969, 1994, 2026, 2036, 2037, 2042, 2042, 2048, 2069, 2074, 2074, 2084, 2084, 2088, 2088, 2112, 2136, 2144, 2154, 2208, 2228, 2230, 2237, 2308, 2361, 2365, 2365, 2384, 2384, 2392, 2401, 2417, 2432, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2493, 2493, 2510, 2510, 2524, 2525, 2527, 2529, 2544, 2545, 2556, 2556, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2649, 2652, 2654, 2654, 2674, 2676, 2693, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2749, 2749, 2768, 2768, 2784, 2785, 2809, 2809, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2869, 2873, 2877, 2877, 2908, 2909, 2911, 2913, 2929, 2929, 2947, 2947, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 3001, 3024, 3024, 3077, 3084, 3086, 3088, 3090, 3112, 3114, 3129, 3133, 3133, 3160, 3162, 3168, 3169, 3200, 3200, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3261, 3261, 3294, 3294, 3296, 3297, 3313, 3314, 3333, 3340, 3342, 3344, 3346, 3386, 3389, 3389, 3406, 3406, 3412, 3414, 3423, 3425, 3450, 3455, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3585, 3632, 3634, 3635, 3648, 3654, 3713, 3714, 3716, 3716, 3718, 3722, 3724, 3747, 3749, 3749, 3751, 3760, 3762, 3763, 3773, 3773, 3776, 3780, 3782, 3782, 3804, 3807, 3840, 3840, 3904, 3911, 3913, 3948, 3976, 3980, 4096, 4138, 4159, 4159, 4176, 4181, 4186, 4189, 4193, 4193, 4197, 4198, 4206, 4208, 4213, 4225, 4238, 4238, 4256, 4293, 4295, 4295, 4301, 4301, 4304, 4346, 4348, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4744, 4746, 4749, 4752, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4822, 4824, 4880, 4882, 4885, 4888, 4954, 4992, 5007, 5024, 5109, 5112, 5117, 5121, 5740, 5743, 5759, 5761, 5786, 5792, 5866, 5870, 5880, 5888, 5900, 5902, 5905, 5920, 5937, 5952, 5969, 5984, 5996, 5998, 6e3, 6016, 6067, 6103, 6103, 6108, 6108, 6176, 6264, 6272, 6312, 6314, 6314, 6320, 6389, 6400, 6430, 6480, 6509, 6512, 6516, 6528, 6571, 6576, 6601, 6656, 6678, 6688, 6740, 6823, 6823, 6917, 6963, 6981, 6987, 7043, 7072, 7086, 7087, 7098, 7141, 7168, 7203, 7245, 7247, 7258, 7293, 7296, 7304, 7312, 7354, 7357, 7359, 7401, 7404, 7406, 7411, 7413, 7414, 7418, 7418, 7424, 7615, 7680, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8305, 8305, 8319, 8319, 8336, 8348, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8472, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8505, 8508, 8511, 8517, 8521, 8526, 8526, 8544, 8584, 11264, 11310, 11312, 11358, 11360, 11492, 11499, 11502, 11506, 11507, 11520, 11557, 11559, 11559, 11565, 11565, 11568, 11623, 11631, 11631, 11648, 11670, 11680, 11686, 11688, 11694, 11696, 11702, 11704, 11710, 11712, 11718, 11720, 11726, 11728, 11734, 11736, 11742, 12293, 12295, 12321, 12329, 12337, 12341, 12344, 12348, 12353, 12438, 12443, 12447, 12449, 12538, 12540, 12543, 12549, 12591, 12593, 12686, 12704, 12730, 12784, 12799, 13312, 19893, 19968, 40943, 40960, 42124, 42192, 42237, 42240, 42508, 42512, 42527, 42538, 42539, 42560, 42606, 42623, 42653, 42656, 42735, 42775, 42783, 42786, 42888, 42891, 42943, 42946, 42950, 42999, 43009, 43011, 43013, 43015, 43018, 43020, 43042, 43072, 43123, 43138, 43187, 43250, 43255, 43259, 43259, 43261, 43262, 43274, 43301, 43312, 43334, 43360, 43388, 43396, 43442, 43471, 43471, 43488, 43492, 43494, 43503, 43514, 43518, 43520, 43560, 43584, 43586, 43588, 43595, 43616, 43638, 43642, 43642, 43646, 43695, 43697, 43697, 43701, 43702, 43705, 43709, 43712, 43712, 43714, 43714, 43739, 43741, 43744, 43754, 43762, 43764, 43777, 43782, 43785, 43790, 43793, 43798, 43808, 43814, 43816, 43822, 43824, 43866, 43868, 43879, 43888, 44002, 44032, 55203, 55216, 55238, 55243, 55291, 63744, 64109, 64112, 64217, 64256, 64262, 64275, 64279, 64285, 64285, 64287, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65136, 65140, 65142, 65276, 65313, 65338, 65345, 65370, 65382, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500, 65536, 65547, 65549, 65574, 65576, 65594, 65596, 65597, 65599, 65613, 65616, 65629, 65664, 65786, 65856, 65908, 66176, 66204, 66208, 66256, 66304, 66335, 66349, 66378, 66384, 66421, 66432, 66461, 66464, 66499, 66504, 66511, 66513, 66517, 66560, 66717, 66736, 66771, 66776, 66811, 66816, 66855, 66864, 66915, 67072, 67382, 67392, 67413, 67424, 67431, 67584, 67589, 67592, 67592, 67594, 67637, 67639, 67640, 67644, 67644, 67647, 67669, 67680, 67702, 67712, 67742, 67808, 67826, 67828, 67829, 67840, 67861, 67872, 67897, 67968, 68023, 68030, 68031, 68096, 68096, 68112, 68115, 68117, 68119, 68121, 68149, 68192, 68220, 68224, 68252, 68288, 68295, 68297, 68324, 68352, 68405, 68416, 68437, 68448, 68466, 68480, 68497, 68608, 68680, 68736, 68786, 68800, 68850, 68864, 68899, 69376, 69404, 69415, 69415, 69424, 69445, 69600, 69622, 69635, 69687, 69763, 69807, 69840, 69864, 69891, 69926, 69956, 69956, 69968, 70002, 70006, 70006, 70019, 70066, 70081, 70084, 70106, 70106, 70108, 70108, 70144, 70161, 70163, 70187, 70272, 70278, 70280, 70280, 70282, 70285, 70287, 70301, 70303, 70312, 70320, 70366, 70405, 70412, 70415, 70416, 70419, 70440, 70442, 70448, 70450, 70451, 70453, 70457, 70461, 70461, 70480, 70480, 70493, 70497, 70656, 70708, 70727, 70730, 70751, 70751, 70784, 70831, 70852, 70853, 70855, 70855, 71040, 71086, 71128, 71131, 71168, 71215, 71236, 71236, 71296, 71338, 71352, 71352, 71424, 71450, 71680, 71723, 71840, 71903, 71935, 71935, 72096, 72103, 72106, 72144, 72161, 72161, 72163, 72163, 72192, 72192, 72203, 72242, 72250, 72250, 72272, 72272, 72284, 72329, 72349, 72349, 72384, 72440, 72704, 72712, 72714, 72750, 72768, 72768, 72818, 72847, 72960, 72966, 72968, 72969, 72971, 73008, 73030, 73030, 73056, 73061, 73063, 73064, 73066, 73097, 73112, 73112, 73440, 73458, 73728, 74649, 74752, 74862, 74880, 75075, 77824, 78894, 82944, 83526, 92160, 92728, 92736, 92766, 92880, 92909, 92928, 92975, 92992, 92995, 93027, 93047, 93053, 93071, 93760, 93823, 93952, 94026, 94032, 94032, 94099, 94111, 94176, 94177, 94179, 94179, 94208, 100343, 100352, 101106, 110592, 110878, 110928, 110930, 110948, 110951, 110960, 111355, 113664, 113770, 113776, 113788, 113792, 113800, 113808, 113817, 119808, 119892, 119894, 119964, 119966, 119967, 119970, 119970, 119973, 119974, 119977, 119980, 119982, 119993, 119995, 119995, 119997, 120003, 120005, 120069, 120071, 120074, 120077, 120084, 120086, 120092, 120094, 120121, 120123, 120126, 120128, 120132, 120134, 120134, 120138, 120144, 120146, 120485, 120488, 120512, 120514, 120538, 120540, 120570, 120572, 120596, 120598, 120628, 120630, 120654, 120656, 120686, 120688, 120712, 120714, 120744, 120746, 120770, 120772, 120779, 123136, 123180, 123191, 123197, 123214, 123214, 123584, 123627, 124928, 125124, 125184, 125251, 125259, 125259, 126464, 126467, 126469, 126495, 126497, 126498, 126500, 126500, 126503, 126503, 126505, 126514, 126516, 126519, 126521, 126521, 126523, 126523, 126530, 126530, 126535, 126535, 126537, 126537, 126539, 126539, 126541, 126543, 126545, 126546, 126548, 126548, 126551, 126551, 126553, 126553, 126555, 126555, 126557, 126557, 126559, 126559, 126561, 126562, 126564, 126564, 126567, 126570, 126572, 126578, 126580, 126583, 126585, 126588, 126590, 126590, 126592, 126601, 126603, 126619, 126625, 126627, 126629, 126633, 126635, 126651, 131072, 173782, 173824, 177972, 177984, 178205, 178208, 183969, 183984, 191456, 194560, 195101];
|
|
@@ -7377,10 +7358,10 @@ function lookupInUnicodeMap(code, map2) {
|
|
|
7377
7358
|
return false;
|
|
7378
7359
|
}
|
|
7379
7360
|
function isUnicodeIdentifierStart(code, languageVersion) {
|
|
7380
|
-
return languageVersion >= 2 /* ES2015 */ ? lookupInUnicodeMap(code, unicodeESNextIdentifierStart) :
|
|
7361
|
+
return languageVersion >= 2 /* ES2015 */ ? lookupInUnicodeMap(code, unicodeESNextIdentifierStart) : lookupInUnicodeMap(code, unicodeES5IdentifierStart);
|
|
7381
7362
|
}
|
|
7382
7363
|
function isUnicodeIdentifierPart(code, languageVersion) {
|
|
7383
|
-
return languageVersion >= 2 /* ES2015 */ ? lookupInUnicodeMap(code, unicodeESNextIdentifierPart) :
|
|
7364
|
+
return languageVersion >= 2 /* ES2015 */ ? lookupInUnicodeMap(code, unicodeESNextIdentifierPart) : lookupInUnicodeMap(code, unicodeES5IdentifierPart);
|
|
7384
7365
|
}
|
|
7385
7366
|
function makeReverseMap(source) {
|
|
7386
7367
|
const result = [];
|
|
@@ -9486,8 +9467,8 @@ function getNonAssignedNameOfDeclaration(declaration) {
|
|
|
9486
9467
|
switch (declaration.kind) {
|
|
9487
9468
|
case 80 /* Identifier */:
|
|
9488
9469
|
return declaration;
|
|
9489
|
-
case
|
|
9490
|
-
case
|
|
9470
|
+
case 348 /* JSDocPropertyTag */:
|
|
9471
|
+
case 341 /* JSDocParameterTag */: {
|
|
9491
9472
|
const { name } = declaration;
|
|
9492
9473
|
if (name.kind === 166 /* QualifiedName */) {
|
|
9493
9474
|
return name.right;
|
|
@@ -9511,9 +9492,9 @@ function getNonAssignedNameOfDeclaration(declaration) {
|
|
|
9511
9492
|
return void 0;
|
|
9512
9493
|
}
|
|
9513
9494
|
}
|
|
9514
|
-
case
|
|
9495
|
+
case 346 /* JSDocTypedefTag */:
|
|
9515
9496
|
return getNameOfJSDocTypedef(declaration);
|
|
9516
|
-
case
|
|
9497
|
+
case 340 /* JSDocEnumTag */:
|
|
9517
9498
|
return nameForNamelessJSDocTypedef(declaration);
|
|
9518
9499
|
case 277 /* ExportAssignment */: {
|
|
9519
9500
|
const { expression } = declaration;
|
|
@@ -9795,11 +9776,11 @@ function isFunctionLikeKind(kind) {
|
|
|
9795
9776
|
switch (kind) {
|
|
9796
9777
|
case 173 /* MethodSignature */:
|
|
9797
9778
|
case 179 /* CallSignature */:
|
|
9798
|
-
case
|
|
9779
|
+
case 323 /* JSDocSignature */:
|
|
9799
9780
|
case 180 /* ConstructSignature */:
|
|
9800
9781
|
case 181 /* IndexSignature */:
|
|
9801
9782
|
case 184 /* FunctionType */:
|
|
9802
|
-
case
|
|
9783
|
+
case 317 /* JSDocFunctionType */:
|
|
9803
9784
|
case 185 /* ConstructorType */:
|
|
9804
9785
|
return true;
|
|
9805
9786
|
default:
|
|
@@ -9954,8 +9935,8 @@ function isExpressionKind(kind) {
|
|
|
9954
9935
|
case 230 /* SpreadElement */:
|
|
9955
9936
|
case 234 /* AsExpression */:
|
|
9956
9937
|
case 232 /* OmittedExpression */:
|
|
9957
|
-
case
|
|
9958
|
-
case
|
|
9938
|
+
case 354 /* CommaListExpression */:
|
|
9939
|
+
case 353 /* PartiallyEmittedExpression */:
|
|
9959
9940
|
case 238 /* SatisfiesExpression */:
|
|
9960
9941
|
return true;
|
|
9961
9942
|
default:
|
|
@@ -9977,17 +9958,17 @@ function isNamedImportBindings(node) {
|
|
|
9977
9958
|
return kind === 275 /* NamedImports */ || kind === 274 /* NamespaceImport */;
|
|
9978
9959
|
}
|
|
9979
9960
|
function isDeclarationKind(kind) {
|
|
9980
|
-
return kind === 219 /* ArrowFunction */ || kind === 208 /* BindingElement */ || kind === 263 /* ClassDeclaration */ || kind === 231 /* ClassExpression */ || kind === 175 /* ClassStaticBlockDeclaration */ || kind === 176 /* Constructor */ || kind === 266 /* EnumDeclaration */ || kind === 306 /* EnumMember */ || kind === 281 /* ExportSpecifier */ || kind === 262 /* FunctionDeclaration */ || kind === 218 /* FunctionExpression */ || kind === 177 /* GetAccessor */ || kind === 273 /* ImportClause */ || kind === 271 /* ImportEqualsDeclaration */ || kind === 276 /* ImportSpecifier */ || kind === 264 /* InterfaceDeclaration */ || kind === 291 /* JsxAttribute */ || kind === 174 /* MethodDeclaration */ || kind === 173 /* MethodSignature */ || kind === 267 /* ModuleDeclaration */ || kind === 270 /* NamespaceExportDeclaration */ || kind === 274 /* NamespaceImport */ || kind === 280 /* NamespaceExport */ || kind === 169 /* Parameter */ || kind === 303 /* PropertyAssignment */ || kind === 172 /* PropertyDeclaration */ || kind === 171 /* PropertySignature */ || kind === 178 /* SetAccessor */ || kind === 304 /* ShorthandPropertyAssignment */ || kind === 265 /* TypeAliasDeclaration */ || kind === 168 /* TypeParameter */ || kind === 260 /* VariableDeclaration */ || kind ===
|
|
9961
|
+
return kind === 219 /* ArrowFunction */ || kind === 208 /* BindingElement */ || kind === 263 /* ClassDeclaration */ || kind === 231 /* ClassExpression */ || kind === 175 /* ClassStaticBlockDeclaration */ || kind === 176 /* Constructor */ || kind === 266 /* EnumDeclaration */ || kind === 306 /* EnumMember */ || kind === 281 /* ExportSpecifier */ || kind === 262 /* FunctionDeclaration */ || kind === 218 /* FunctionExpression */ || kind === 177 /* GetAccessor */ || kind === 273 /* ImportClause */ || kind === 271 /* ImportEqualsDeclaration */ || kind === 276 /* ImportSpecifier */ || kind === 264 /* InterfaceDeclaration */ || kind === 291 /* JsxAttribute */ || kind === 174 /* MethodDeclaration */ || kind === 173 /* MethodSignature */ || kind === 267 /* ModuleDeclaration */ || kind === 270 /* NamespaceExportDeclaration */ || kind === 274 /* NamespaceImport */ || kind === 280 /* NamespaceExport */ || kind === 169 /* Parameter */ || kind === 303 /* PropertyAssignment */ || kind === 172 /* PropertyDeclaration */ || kind === 171 /* PropertySignature */ || kind === 178 /* SetAccessor */ || kind === 304 /* ShorthandPropertyAssignment */ || kind === 265 /* TypeAliasDeclaration */ || kind === 168 /* TypeParameter */ || kind === 260 /* VariableDeclaration */ || kind === 346 /* JSDocTypedefTag */ || kind === 338 /* JSDocCallbackTag */ || kind === 348 /* JSDocPropertyTag */;
|
|
9981
9962
|
}
|
|
9982
9963
|
function isDeclarationStatementKind(kind) {
|
|
9983
9964
|
return kind === 262 /* FunctionDeclaration */ || kind === 282 /* MissingDeclaration */ || kind === 263 /* ClassDeclaration */ || kind === 264 /* InterfaceDeclaration */ || kind === 265 /* TypeAliasDeclaration */ || kind === 266 /* EnumDeclaration */ || kind === 267 /* ModuleDeclaration */ || kind === 272 /* ImportDeclaration */ || kind === 271 /* ImportEqualsDeclaration */ || kind === 278 /* ExportDeclaration */ || kind === 277 /* ExportAssignment */ || kind === 270 /* NamespaceExportDeclaration */;
|
|
9984
9965
|
}
|
|
9985
9966
|
function isStatementKindButNotDeclarationKind(kind) {
|
|
9986
|
-
return kind === 252 /* BreakStatement */ || kind === 251 /* ContinueStatement */ || kind === 259 /* DebuggerStatement */ || kind === 246 /* DoStatement */ || kind === 244 /* ExpressionStatement */ || kind === 242 /* EmptyStatement */ || kind === 249 /* ForInStatement */ || kind === 250 /* ForOfStatement */ || kind === 248 /* ForStatement */ || kind === 245 /* IfStatement */ || kind === 256 /* LabeledStatement */ || kind === 253 /* ReturnStatement */ || kind === 255 /* SwitchStatement */ || kind === 257 /* ThrowStatement */ || kind === 258 /* TryStatement */ || kind === 243 /* VariableStatement */ || kind === 247 /* WhileStatement */ || kind === 254 /* WithStatement */ || kind ===
|
|
9967
|
+
return kind === 252 /* BreakStatement */ || kind === 251 /* ContinueStatement */ || kind === 259 /* DebuggerStatement */ || kind === 246 /* DoStatement */ || kind === 244 /* ExpressionStatement */ || kind === 242 /* EmptyStatement */ || kind === 249 /* ForInStatement */ || kind === 250 /* ForOfStatement */ || kind === 248 /* ForStatement */ || kind === 245 /* IfStatement */ || kind === 256 /* LabeledStatement */ || kind === 253 /* ReturnStatement */ || kind === 255 /* SwitchStatement */ || kind === 257 /* ThrowStatement */ || kind === 258 /* TryStatement */ || kind === 243 /* VariableStatement */ || kind === 247 /* WhileStatement */ || kind === 254 /* WithStatement */ || kind === 352 /* NotEmittedStatement */;
|
|
9987
9968
|
}
|
|
9988
9969
|
function isDeclaration(node) {
|
|
9989
9970
|
if (node.kind === 168 /* TypeParameter */) {
|
|
9990
|
-
return node.parent && node.parent.kind !==
|
|
9971
|
+
return node.parent && node.parent.kind !== 345 /* JSDocTemplateTag */ || isInJSFile(node);
|
|
9991
9972
|
}
|
|
9992
9973
|
return isDeclarationKind(node.kind);
|
|
9993
9974
|
}
|
|
@@ -10034,7 +10015,7 @@ function isCaseOrDefaultClause(node) {
|
|
|
10034
10015
|
return kind === 296 /* CaseClause */ || kind === 297 /* DefaultClause */;
|
|
10035
10016
|
}
|
|
10036
10017
|
function isJSDocNode(node) {
|
|
10037
|
-
return node.kind >=
|
|
10018
|
+
return node.kind >= 309 /* FirstJSDocNode */ && node.kind <= 350 /* LastJSDocNode */;
|
|
10038
10019
|
}
|
|
10039
10020
|
function hasJSDocNodes(node) {
|
|
10040
10021
|
if (!canHaveJSDoc(node))
|
|
@@ -10117,7 +10098,7 @@ function aggregateChildData(node) {
|
|
|
10117
10098
|
}
|
|
10118
10099
|
}
|
|
10119
10100
|
function getSourceFileOfNode(node) {
|
|
10120
|
-
while (node && node.kind !==
|
|
10101
|
+
while (node && node.kind !== 307 /* SourceFile */) {
|
|
10121
10102
|
node = node.parent;
|
|
10122
10103
|
}
|
|
10123
10104
|
return node;
|
|
@@ -10239,7 +10220,7 @@ function getErrorSpanForArrowFunction(sourceFile, node) {
|
|
|
10239
10220
|
function getErrorSpanForNode(sourceFile, node) {
|
|
10240
10221
|
let errorNode = node;
|
|
10241
10222
|
switch (node.kind) {
|
|
10242
|
-
case
|
|
10223
|
+
case 307 /* SourceFile */: {
|
|
10243
10224
|
const pos2 = skipTrivia(
|
|
10244
10225
|
sourceFile.text,
|
|
10245
10226
|
0,
|
|
@@ -10287,7 +10268,7 @@ function getErrorSpanForNode(sourceFile, node) {
|
|
|
10287
10268
|
const pos2 = skipTrivia(sourceFile.text, node.expression.end);
|
|
10288
10269
|
return getSpanOfTokenAtPosition(sourceFile, pos2);
|
|
10289
10270
|
}
|
|
10290
|
-
case
|
|
10271
|
+
case 350 /* JSDocSatisfiesTag */: {
|
|
10291
10272
|
const pos2 = skipTrivia(sourceFile.text, node.tagName.pos);
|
|
10292
10273
|
return getSpanOfTokenAtPosition(sourceFile, pos2);
|
|
10293
10274
|
}
|
|
@@ -10559,8 +10540,8 @@ function canHaveJSDoc(node) {
|
|
|
10559
10540
|
case 271 /* ImportEqualsDeclaration */:
|
|
10560
10541
|
case 181 /* IndexSignature */:
|
|
10561
10542
|
case 264 /* InterfaceDeclaration */:
|
|
10562
|
-
case
|
|
10563
|
-
case
|
|
10543
|
+
case 317 /* JSDocFunctionType */:
|
|
10544
|
+
case 323 /* JSDocSignature */:
|
|
10564
10545
|
case 256 /* LabeledStatement */:
|
|
10565
10546
|
case 174 /* MethodDeclaration */:
|
|
10566
10547
|
case 173 /* MethodSignature */:
|
|
@@ -10728,7 +10709,7 @@ function getOperator(expression) {
|
|
|
10728
10709
|
}
|
|
10729
10710
|
function getOperatorPrecedence(nodeKind, operatorKind, hasArguments) {
|
|
10730
10711
|
switch (nodeKind) {
|
|
10731
|
-
case
|
|
10712
|
+
case 354 /* CommaListExpression */:
|
|
10732
10713
|
return 0 /* Comma */;
|
|
10733
10714
|
case 230 /* SpreadElement */:
|
|
10734
10715
|
return 1 /* Spread */;
|
|
@@ -10893,9 +10874,6 @@ function hostGetCanonicalFileName(host) {
|
|
|
10893
10874
|
function getPossibleOriginalInputExtensionForExtension(path2) {
|
|
10894
10875
|
return fileExtensionIsOneOf(path2, [".d.mts" /* Dmts */, ".mjs" /* Mjs */, ".mts" /* Mts */]) ? [".mts" /* Mts */, ".mjs" /* Mjs */] : fileExtensionIsOneOf(path2, [".d.cts" /* Dcts */, ".cjs" /* Cjs */, ".cts" /* Cts */]) ? [".cts" /* Cts */, ".cjs" /* Cjs */] : fileExtensionIsOneOf(path2, [`.d.json.ts`]) ? [".json" /* Json */] : [".tsx" /* Tsx */, ".ts" /* Ts */, ".jsx" /* Jsx */, ".js" /* Js */];
|
|
10895
10876
|
}
|
|
10896
|
-
function outFile(options) {
|
|
10897
|
-
return options.outFile || options.out;
|
|
10898
|
-
}
|
|
10899
10877
|
function getPathsBasePath(options, host) {
|
|
10900
10878
|
var _a;
|
|
10901
10879
|
if (!options.paths)
|
|
@@ -11089,7 +11067,7 @@ function getLastChild(node) {
|
|
|
11089
11067
|
return lastChild;
|
|
11090
11068
|
}
|
|
11091
11069
|
function isTypeNodeKind(kind) {
|
|
11092
|
-
return kind >= 182 /* FirstTypeNode */ && kind <= 205 /* LastTypeNode */ || kind === 133 /* AnyKeyword */ || kind === 159 /* UnknownKeyword */ || kind === 150 /* NumberKeyword */ || kind === 163 /* BigIntKeyword */ || kind === 151 /* ObjectKeyword */ || kind === 136 /* BooleanKeyword */ || kind === 154 /* StringKeyword */ || kind === 155 /* SymbolKeyword */ || kind === 116 /* VoidKeyword */ || kind === 157 /* UndefinedKeyword */ || kind === 146 /* NeverKeyword */ || kind === 141 /* IntrinsicKeyword */ || kind === 233 /* ExpressionWithTypeArguments */ || kind ===
|
|
11070
|
+
return kind >= 182 /* FirstTypeNode */ && kind <= 205 /* LastTypeNode */ || kind === 133 /* AnyKeyword */ || kind === 159 /* UnknownKeyword */ || kind === 150 /* NumberKeyword */ || kind === 163 /* BigIntKeyword */ || kind === 151 /* ObjectKeyword */ || kind === 136 /* BooleanKeyword */ || kind === 154 /* StringKeyword */ || kind === 155 /* SymbolKeyword */ || kind === 116 /* VoidKeyword */ || kind === 157 /* UndefinedKeyword */ || kind === 146 /* NeverKeyword */ || kind === 141 /* IntrinsicKeyword */ || kind === 233 /* ExpressionWithTypeArguments */ || kind === 312 /* JSDocAllType */ || kind === 313 /* JSDocUnknownType */ || kind === 314 /* JSDocNullableType */ || kind === 315 /* JSDocNonNullableType */ || kind === 316 /* JSDocOptionalType */ || kind === 317 /* JSDocFunctionType */ || kind === 318 /* JSDocVariadicType */;
|
|
11093
11071
|
}
|
|
11094
11072
|
function isAccessExpression(node) {
|
|
11095
11073
|
return node.kind === 211 /* PropertyAccessExpression */ || node.kind === 212 /* ElementAccessExpression */;
|
|
@@ -11117,7 +11095,7 @@ function getLeftmostExpression(node, stopAtCallExpressions) {
|
|
|
11117
11095
|
case 212 /* ElementAccessExpression */:
|
|
11118
11096
|
case 211 /* PropertyAccessExpression */:
|
|
11119
11097
|
case 235 /* NonNullExpression */:
|
|
11120
|
-
case
|
|
11098
|
+
case 353 /* PartiallyEmittedExpression */:
|
|
11121
11099
|
case 238 /* SatisfiesExpression */:
|
|
11122
11100
|
node = node.expression;
|
|
11123
11101
|
continue;
|
|
@@ -11318,7 +11296,8 @@ var computedOptions = createComputedCompilerOptions({
|
|
|
11318
11296
|
target: {
|
|
11319
11297
|
dependencies: ["module"],
|
|
11320
11298
|
computeValue: (compilerOptions) => {
|
|
11321
|
-
|
|
11299
|
+
const target = compilerOptions.target === 0 /* ES3 */ ? void 0 : compilerOptions.target;
|
|
11300
|
+
return target ?? (compilerOptions.module === 100 /* Node16 */ && 9 /* ES2022 */ || compilerOptions.module === 199 /* NodeNext */ && 99 /* ESNext */ || 1 /* ES5 */);
|
|
11322
11301
|
}
|
|
11323
11302
|
},
|
|
11324
11303
|
module: {
|
|
@@ -12854,40 +12833,40 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
12854
12833
|
updateExternalModuleReference,
|
|
12855
12834
|
// lazily load factory members for JSDoc types with similar structure
|
|
12856
12835
|
get createJSDocAllType() {
|
|
12857
|
-
return getJSDocPrimaryTypeCreateFunction(
|
|
12836
|
+
return getJSDocPrimaryTypeCreateFunction(312 /* JSDocAllType */);
|
|
12858
12837
|
},
|
|
12859
12838
|
get createJSDocUnknownType() {
|
|
12860
|
-
return getJSDocPrimaryTypeCreateFunction(
|
|
12839
|
+
return getJSDocPrimaryTypeCreateFunction(313 /* JSDocUnknownType */);
|
|
12861
12840
|
},
|
|
12862
12841
|
get createJSDocNonNullableType() {
|
|
12863
|
-
return getJSDocPrePostfixUnaryTypeCreateFunction(
|
|
12842
|
+
return getJSDocPrePostfixUnaryTypeCreateFunction(315 /* JSDocNonNullableType */);
|
|
12864
12843
|
},
|
|
12865
12844
|
get updateJSDocNonNullableType() {
|
|
12866
|
-
return getJSDocPrePostfixUnaryTypeUpdateFunction(
|
|
12845
|
+
return getJSDocPrePostfixUnaryTypeUpdateFunction(315 /* JSDocNonNullableType */);
|
|
12867
12846
|
},
|
|
12868
12847
|
get createJSDocNullableType() {
|
|
12869
|
-
return getJSDocPrePostfixUnaryTypeCreateFunction(
|
|
12848
|
+
return getJSDocPrePostfixUnaryTypeCreateFunction(314 /* JSDocNullableType */);
|
|
12870
12849
|
},
|
|
12871
12850
|
get updateJSDocNullableType() {
|
|
12872
|
-
return getJSDocPrePostfixUnaryTypeUpdateFunction(
|
|
12851
|
+
return getJSDocPrePostfixUnaryTypeUpdateFunction(314 /* JSDocNullableType */);
|
|
12873
12852
|
},
|
|
12874
12853
|
get createJSDocOptionalType() {
|
|
12875
|
-
return getJSDocUnaryTypeCreateFunction(
|
|
12854
|
+
return getJSDocUnaryTypeCreateFunction(316 /* JSDocOptionalType */);
|
|
12876
12855
|
},
|
|
12877
12856
|
get updateJSDocOptionalType() {
|
|
12878
|
-
return getJSDocUnaryTypeUpdateFunction(
|
|
12857
|
+
return getJSDocUnaryTypeUpdateFunction(316 /* JSDocOptionalType */);
|
|
12879
12858
|
},
|
|
12880
12859
|
get createJSDocVariadicType() {
|
|
12881
|
-
return getJSDocUnaryTypeCreateFunction(
|
|
12860
|
+
return getJSDocUnaryTypeCreateFunction(318 /* JSDocVariadicType */);
|
|
12882
12861
|
},
|
|
12883
12862
|
get updateJSDocVariadicType() {
|
|
12884
|
-
return getJSDocUnaryTypeUpdateFunction(
|
|
12863
|
+
return getJSDocUnaryTypeUpdateFunction(318 /* JSDocVariadicType */);
|
|
12885
12864
|
},
|
|
12886
12865
|
get createJSDocNamepathType() {
|
|
12887
|
-
return getJSDocUnaryTypeCreateFunction(
|
|
12866
|
+
return getJSDocUnaryTypeCreateFunction(319 /* JSDocNamepathType */);
|
|
12888
12867
|
},
|
|
12889
12868
|
get updateJSDocNamepathType() {
|
|
12890
|
-
return getJSDocUnaryTypeUpdateFunction(
|
|
12869
|
+
return getJSDocUnaryTypeUpdateFunction(319 /* JSDocNamepathType */);
|
|
12891
12870
|
},
|
|
12892
12871
|
createJSDocFunctionType,
|
|
12893
12872
|
updateJSDocFunctionType,
|
|
@@ -12927,82 +12906,82 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
12927
12906
|
updateJSDocLinkPlain,
|
|
12928
12907
|
// lazily load factory members for JSDoc tags with similar structure
|
|
12929
12908
|
get createJSDocTypeTag() {
|
|
12930
|
-
return getJSDocTypeLikeTagCreateFunction(
|
|
12909
|
+
return getJSDocTypeLikeTagCreateFunction(344 /* JSDocTypeTag */);
|
|
12931
12910
|
},
|
|
12932
12911
|
get updateJSDocTypeTag() {
|
|
12933
|
-
return getJSDocTypeLikeTagUpdateFunction(
|
|
12912
|
+
return getJSDocTypeLikeTagUpdateFunction(344 /* JSDocTypeTag */);
|
|
12934
12913
|
},
|
|
12935
12914
|
get createJSDocReturnTag() {
|
|
12936
|
-
return getJSDocTypeLikeTagCreateFunction(
|
|
12915
|
+
return getJSDocTypeLikeTagCreateFunction(342 /* JSDocReturnTag */);
|
|
12937
12916
|
},
|
|
12938
12917
|
get updateJSDocReturnTag() {
|
|
12939
|
-
return getJSDocTypeLikeTagUpdateFunction(
|
|
12918
|
+
return getJSDocTypeLikeTagUpdateFunction(342 /* JSDocReturnTag */);
|
|
12940
12919
|
},
|
|
12941
12920
|
get createJSDocThisTag() {
|
|
12942
|
-
return getJSDocTypeLikeTagCreateFunction(
|
|
12921
|
+
return getJSDocTypeLikeTagCreateFunction(343 /* JSDocThisTag */);
|
|
12943
12922
|
},
|
|
12944
12923
|
get updateJSDocThisTag() {
|
|
12945
|
-
return getJSDocTypeLikeTagUpdateFunction(
|
|
12924
|
+
return getJSDocTypeLikeTagUpdateFunction(343 /* JSDocThisTag */);
|
|
12946
12925
|
},
|
|
12947
12926
|
get createJSDocAuthorTag() {
|
|
12948
|
-
return getJSDocSimpleTagCreateFunction(
|
|
12927
|
+
return getJSDocSimpleTagCreateFunction(330 /* JSDocAuthorTag */);
|
|
12949
12928
|
},
|
|
12950
12929
|
get updateJSDocAuthorTag() {
|
|
12951
|
-
return getJSDocSimpleTagUpdateFunction(
|
|
12930
|
+
return getJSDocSimpleTagUpdateFunction(330 /* JSDocAuthorTag */);
|
|
12952
12931
|
},
|
|
12953
12932
|
get createJSDocClassTag() {
|
|
12954
|
-
return getJSDocSimpleTagCreateFunction(
|
|
12933
|
+
return getJSDocSimpleTagCreateFunction(332 /* JSDocClassTag */);
|
|
12955
12934
|
},
|
|
12956
12935
|
get updateJSDocClassTag() {
|
|
12957
|
-
return getJSDocSimpleTagUpdateFunction(
|
|
12936
|
+
return getJSDocSimpleTagUpdateFunction(332 /* JSDocClassTag */);
|
|
12958
12937
|
},
|
|
12959
12938
|
get createJSDocPublicTag() {
|
|
12960
|
-
return getJSDocSimpleTagCreateFunction(
|
|
12939
|
+
return getJSDocSimpleTagCreateFunction(333 /* JSDocPublicTag */);
|
|
12961
12940
|
},
|
|
12962
12941
|
get updateJSDocPublicTag() {
|
|
12963
|
-
return getJSDocSimpleTagUpdateFunction(
|
|
12942
|
+
return getJSDocSimpleTagUpdateFunction(333 /* JSDocPublicTag */);
|
|
12964
12943
|
},
|
|
12965
12944
|
get createJSDocPrivateTag() {
|
|
12966
|
-
return getJSDocSimpleTagCreateFunction(
|
|
12945
|
+
return getJSDocSimpleTagCreateFunction(334 /* JSDocPrivateTag */);
|
|
12967
12946
|
},
|
|
12968
12947
|
get updateJSDocPrivateTag() {
|
|
12969
|
-
return getJSDocSimpleTagUpdateFunction(
|
|
12948
|
+
return getJSDocSimpleTagUpdateFunction(334 /* JSDocPrivateTag */);
|
|
12970
12949
|
},
|
|
12971
12950
|
get createJSDocProtectedTag() {
|
|
12972
|
-
return getJSDocSimpleTagCreateFunction(
|
|
12951
|
+
return getJSDocSimpleTagCreateFunction(335 /* JSDocProtectedTag */);
|
|
12973
12952
|
},
|
|
12974
12953
|
get updateJSDocProtectedTag() {
|
|
12975
|
-
return getJSDocSimpleTagUpdateFunction(
|
|
12954
|
+
return getJSDocSimpleTagUpdateFunction(335 /* JSDocProtectedTag */);
|
|
12976
12955
|
},
|
|
12977
12956
|
get createJSDocReadonlyTag() {
|
|
12978
|
-
return getJSDocSimpleTagCreateFunction(
|
|
12957
|
+
return getJSDocSimpleTagCreateFunction(336 /* JSDocReadonlyTag */);
|
|
12979
12958
|
},
|
|
12980
12959
|
get updateJSDocReadonlyTag() {
|
|
12981
|
-
return getJSDocSimpleTagUpdateFunction(
|
|
12960
|
+
return getJSDocSimpleTagUpdateFunction(336 /* JSDocReadonlyTag */);
|
|
12982
12961
|
},
|
|
12983
12962
|
get createJSDocOverrideTag() {
|
|
12984
|
-
return getJSDocSimpleTagCreateFunction(
|
|
12963
|
+
return getJSDocSimpleTagCreateFunction(337 /* JSDocOverrideTag */);
|
|
12985
12964
|
},
|
|
12986
12965
|
get updateJSDocOverrideTag() {
|
|
12987
|
-
return getJSDocSimpleTagUpdateFunction(
|
|
12966
|
+
return getJSDocSimpleTagUpdateFunction(337 /* JSDocOverrideTag */);
|
|
12988
12967
|
},
|
|
12989
12968
|
get createJSDocDeprecatedTag() {
|
|
12990
|
-
return getJSDocSimpleTagCreateFunction(
|
|
12969
|
+
return getJSDocSimpleTagCreateFunction(331 /* JSDocDeprecatedTag */);
|
|
12991
12970
|
},
|
|
12992
12971
|
get updateJSDocDeprecatedTag() {
|
|
12993
|
-
return getJSDocSimpleTagUpdateFunction(
|
|
12972
|
+
return getJSDocSimpleTagUpdateFunction(331 /* JSDocDeprecatedTag */);
|
|
12994
12973
|
},
|
|
12995
12974
|
get createJSDocThrowsTag() {
|
|
12996
|
-
return getJSDocTypeLikeTagCreateFunction(
|
|
12975
|
+
return getJSDocTypeLikeTagCreateFunction(349 /* JSDocThrowsTag */);
|
|
12997
12976
|
},
|
|
12998
12977
|
get updateJSDocThrowsTag() {
|
|
12999
|
-
return getJSDocTypeLikeTagUpdateFunction(
|
|
12978
|
+
return getJSDocTypeLikeTagUpdateFunction(349 /* JSDocThrowsTag */);
|
|
13000
12979
|
},
|
|
13001
12980
|
get createJSDocSatisfiesTag() {
|
|
13002
|
-
return getJSDocTypeLikeTagCreateFunction(
|
|
12981
|
+
return getJSDocTypeLikeTagCreateFunction(350 /* JSDocSatisfiesTag */);
|
|
13003
12982
|
},
|
|
13004
12983
|
get updateJSDocSatisfiesTag() {
|
|
13005
|
-
return getJSDocTypeLikeTagUpdateFunction(
|
|
12984
|
+
return getJSDocTypeLikeTagUpdateFunction(350 /* JSDocSatisfiesTag */);
|
|
13006
12985
|
},
|
|
13007
12986
|
createJSDocEnumTag,
|
|
13008
12987
|
updateJSDocEnumTag,
|
|
@@ -13057,12 +13036,6 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
13057
13036
|
createRedirectedSourceFile,
|
|
13058
13037
|
createBundle,
|
|
13059
13038
|
updateBundle,
|
|
13060
|
-
createUnparsedSource,
|
|
13061
|
-
createUnparsedPrologue,
|
|
13062
|
-
createUnparsedPrepend,
|
|
13063
|
-
createUnparsedTextLike,
|
|
13064
|
-
createUnparsedSyntheticReference,
|
|
13065
|
-
createInputFiles,
|
|
13066
13039
|
createSyntheticExpression,
|
|
13067
13040
|
createSyntaxList,
|
|
13068
13041
|
createNotEmittedStatement,
|
|
@@ -15470,7 +15443,7 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
15470
15443
|
return node.type !== type ? update(createJSDocUnaryTypeWorker(kind, type), node) : node;
|
|
15471
15444
|
}
|
|
15472
15445
|
function createJSDocFunctionType(parameters, type) {
|
|
15473
|
-
const node = createBaseDeclaration(
|
|
15446
|
+
const node = createBaseDeclaration(317 /* JSDocFunctionType */);
|
|
15474
15447
|
node.parameters = asNodeArray(parameters);
|
|
15475
15448
|
node.type = type;
|
|
15476
15449
|
node.transformFlags = propagateChildrenFlags(node.parameters) | (node.type ? 1 /* ContainsTypeScript */ : 0 /* None */);
|
|
@@ -15484,7 +15457,7 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
15484
15457
|
return node.parameters !== parameters || node.type !== type ? update(createJSDocFunctionType(parameters, type), node) : node;
|
|
15485
15458
|
}
|
|
15486
15459
|
function createJSDocTypeLiteral(propertyTags, isArrayType = false) {
|
|
15487
|
-
const node = createBaseDeclaration(
|
|
15460
|
+
const node = createBaseDeclaration(322 /* JSDocTypeLiteral */);
|
|
15488
15461
|
node.jsDocPropertyTags = asNodeArray(propertyTags);
|
|
15489
15462
|
node.isArrayType = isArrayType;
|
|
15490
15463
|
return node;
|
|
@@ -15493,7 +15466,7 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
15493
15466
|
return node.jsDocPropertyTags !== propertyTags || node.isArrayType !== isArrayType ? update(createJSDocTypeLiteral(propertyTags, isArrayType), node) : node;
|
|
15494
15467
|
}
|
|
15495
15468
|
function createJSDocTypeExpression(type) {
|
|
15496
|
-
const node = createBaseNode(
|
|
15469
|
+
const node = createBaseNode(309 /* JSDocTypeExpression */);
|
|
15497
15470
|
node.type = type;
|
|
15498
15471
|
return node;
|
|
15499
15472
|
}
|
|
@@ -15501,7 +15474,7 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
15501
15474
|
return node.type !== type ? update(createJSDocTypeExpression(type), node) : node;
|
|
15502
15475
|
}
|
|
15503
15476
|
function createJSDocSignature(typeParameters, parameters, type) {
|
|
15504
|
-
const node = createBaseDeclaration(
|
|
15477
|
+
const node = createBaseDeclaration(323 /* JSDocSignature */);
|
|
15505
15478
|
node.typeParameters = asNodeArray(typeParameters);
|
|
15506
15479
|
node.parameters = createNodeArray(parameters);
|
|
15507
15480
|
node.type = type;
|
|
@@ -15530,7 +15503,7 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
15530
15503
|
return node;
|
|
15531
15504
|
}
|
|
15532
15505
|
function createJSDocTemplateTag(tagName, constraint, typeParameters, comment) {
|
|
15533
|
-
const node = createBaseJSDocTag(
|
|
15506
|
+
const node = createBaseJSDocTag(345 /* JSDocTemplateTag */, tagName ?? createIdentifier("template"), comment);
|
|
15534
15507
|
node.constraint = constraint;
|
|
15535
15508
|
node.typeParameters = createNodeArray(typeParameters);
|
|
15536
15509
|
return node;
|
|
@@ -15539,7 +15512,7 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
15539
15512
|
return node.tagName !== tagName || node.constraint !== constraint || node.typeParameters !== typeParameters || node.comment !== comment ? update(createJSDocTemplateTag(tagName, constraint, typeParameters, comment), node) : node;
|
|
15540
15513
|
}
|
|
15541
15514
|
function createJSDocTypedefTag(tagName, typeExpression, fullName, comment) {
|
|
15542
|
-
const node = createBaseJSDocTagDeclaration(
|
|
15515
|
+
const node = createBaseJSDocTagDeclaration(346 /* JSDocTypedefTag */, tagName ?? createIdentifier("typedef"), comment);
|
|
15543
15516
|
node.typeExpression = typeExpression;
|
|
15544
15517
|
node.fullName = fullName;
|
|
15545
15518
|
node.name = getJSDocTypeAliasName(fullName);
|
|
@@ -15551,7 +15524,7 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
15551
15524
|
return node.tagName !== tagName || node.typeExpression !== typeExpression || node.fullName !== fullName || node.comment !== comment ? update(createJSDocTypedefTag(tagName, typeExpression, fullName, comment), node) : node;
|
|
15552
15525
|
}
|
|
15553
15526
|
function createJSDocParameterTag(tagName, name, isBracketed, typeExpression, isNameFirst, comment) {
|
|
15554
|
-
const node = createBaseJSDocTagDeclaration(
|
|
15527
|
+
const node = createBaseJSDocTagDeclaration(341 /* JSDocParameterTag */, tagName ?? createIdentifier("param"), comment);
|
|
15555
15528
|
node.typeExpression = typeExpression;
|
|
15556
15529
|
node.name = name;
|
|
15557
15530
|
node.isNameFirst = !!isNameFirst;
|
|
@@ -15562,7 +15535,7 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
15562
15535
|
return node.tagName !== tagName || node.name !== name || node.isBracketed !== isBracketed || node.typeExpression !== typeExpression || node.isNameFirst !== isNameFirst || node.comment !== comment ? update(createJSDocParameterTag(tagName, name, isBracketed, typeExpression, isNameFirst, comment), node) : node;
|
|
15563
15536
|
}
|
|
15564
15537
|
function createJSDocPropertyTag(tagName, name, isBracketed, typeExpression, isNameFirst, comment) {
|
|
15565
|
-
const node = createBaseJSDocTagDeclaration(
|
|
15538
|
+
const node = createBaseJSDocTagDeclaration(348 /* JSDocPropertyTag */, tagName ?? createIdentifier("prop"), comment);
|
|
15566
15539
|
node.typeExpression = typeExpression;
|
|
15567
15540
|
node.name = name;
|
|
15568
15541
|
node.isNameFirst = !!isNameFirst;
|
|
@@ -15573,7 +15546,7 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
15573
15546
|
return node.tagName !== tagName || node.name !== name || node.isBracketed !== isBracketed || node.typeExpression !== typeExpression || node.isNameFirst !== isNameFirst || node.comment !== comment ? update(createJSDocPropertyTag(tagName, name, isBracketed, typeExpression, isNameFirst, comment), node) : node;
|
|
15574
15547
|
}
|
|
15575
15548
|
function createJSDocCallbackTag(tagName, typeExpression, fullName, comment) {
|
|
15576
|
-
const node = createBaseJSDocTagDeclaration(
|
|
15549
|
+
const node = createBaseJSDocTagDeclaration(338 /* JSDocCallbackTag */, tagName ?? createIdentifier("callback"), comment);
|
|
15577
15550
|
node.typeExpression = typeExpression;
|
|
15578
15551
|
node.fullName = fullName;
|
|
15579
15552
|
node.name = getJSDocTypeAliasName(fullName);
|
|
@@ -15585,7 +15558,7 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
15585
15558
|
return node.tagName !== tagName || node.typeExpression !== typeExpression || node.fullName !== fullName || node.comment !== comment ? update(createJSDocCallbackTag(tagName, typeExpression, fullName, comment), node) : node;
|
|
15586
15559
|
}
|
|
15587
15560
|
function createJSDocOverloadTag(tagName, typeExpression, comment) {
|
|
15588
|
-
const node = createBaseJSDocTag(
|
|
15561
|
+
const node = createBaseJSDocTag(339 /* JSDocOverloadTag */, tagName ?? createIdentifier("overload"), comment);
|
|
15589
15562
|
node.typeExpression = typeExpression;
|
|
15590
15563
|
return node;
|
|
15591
15564
|
}
|
|
@@ -15593,7 +15566,7 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
15593
15566
|
return node.tagName !== tagName || node.typeExpression !== typeExpression || node.comment !== comment ? update(createJSDocOverloadTag(tagName, typeExpression, comment), node) : node;
|
|
15594
15567
|
}
|
|
15595
15568
|
function createJSDocAugmentsTag(tagName, className, comment) {
|
|
15596
|
-
const node = createBaseJSDocTag(
|
|
15569
|
+
const node = createBaseJSDocTag(328 /* JSDocAugmentsTag */, tagName ?? createIdentifier("augments"), comment);
|
|
15597
15570
|
node.class = className;
|
|
15598
15571
|
return node;
|
|
15599
15572
|
}
|
|
@@ -15601,12 +15574,12 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
15601
15574
|
return node.tagName !== tagName || node.class !== className || node.comment !== comment ? update(createJSDocAugmentsTag(tagName, className, comment), node) : node;
|
|
15602
15575
|
}
|
|
15603
15576
|
function createJSDocImplementsTag(tagName, className, comment) {
|
|
15604
|
-
const node = createBaseJSDocTag(
|
|
15577
|
+
const node = createBaseJSDocTag(329 /* JSDocImplementsTag */, tagName ?? createIdentifier("implements"), comment);
|
|
15605
15578
|
node.class = className;
|
|
15606
15579
|
return node;
|
|
15607
15580
|
}
|
|
15608
15581
|
function createJSDocSeeTag(tagName, name, comment) {
|
|
15609
|
-
const node = createBaseJSDocTag(
|
|
15582
|
+
const node = createBaseJSDocTag(347 /* JSDocSeeTag */, tagName ?? createIdentifier("see"), comment);
|
|
15610
15583
|
node.name = name;
|
|
15611
15584
|
return node;
|
|
15612
15585
|
}
|
|
@@ -15614,7 +15587,7 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
15614
15587
|
return node.tagName !== tagName || node.name !== name || node.comment !== comment ? update(createJSDocSeeTag(tagName, name, comment), node) : node;
|
|
15615
15588
|
}
|
|
15616
15589
|
function createJSDocNameReference(name) {
|
|
15617
|
-
const node = createBaseNode(
|
|
15590
|
+
const node = createBaseNode(310 /* JSDocNameReference */);
|
|
15618
15591
|
node.name = name;
|
|
15619
15592
|
return node;
|
|
15620
15593
|
}
|
|
@@ -15622,7 +15595,7 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
15622
15595
|
return node.name !== name ? update(createJSDocNameReference(name), node) : node;
|
|
15623
15596
|
}
|
|
15624
15597
|
function createJSDocMemberName(left, right) {
|
|
15625
|
-
const node = createBaseNode(
|
|
15598
|
+
const node = createBaseNode(311 /* JSDocMemberName */);
|
|
15626
15599
|
node.left = left;
|
|
15627
15600
|
node.right = right;
|
|
15628
15601
|
node.transformFlags |= propagateChildFlags(node.left) | propagateChildFlags(node.right);
|
|
@@ -15632,7 +15605,7 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
15632
15605
|
return node.left !== left || node.right !== right ? update(createJSDocMemberName(left, right), node) : node;
|
|
15633
15606
|
}
|
|
15634
15607
|
function createJSDocLink(name, text) {
|
|
15635
|
-
const node = createBaseNode(
|
|
15608
|
+
const node = createBaseNode(324 /* JSDocLink */);
|
|
15636
15609
|
node.name = name;
|
|
15637
15610
|
node.text = text;
|
|
15638
15611
|
return node;
|
|
@@ -15641,7 +15614,7 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
15641
15614
|
return node.name !== name ? update(createJSDocLink(name, text), node) : node;
|
|
15642
15615
|
}
|
|
15643
15616
|
function createJSDocLinkCode(name, text) {
|
|
15644
|
-
const node = createBaseNode(
|
|
15617
|
+
const node = createBaseNode(325 /* JSDocLinkCode */);
|
|
15645
15618
|
node.name = name;
|
|
15646
15619
|
node.text = text;
|
|
15647
15620
|
return node;
|
|
@@ -15650,7 +15623,7 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
15650
15623
|
return node.name !== name ? update(createJSDocLinkCode(name, text), node) : node;
|
|
15651
15624
|
}
|
|
15652
15625
|
function createJSDocLinkPlain(name, text) {
|
|
15653
|
-
const node = createBaseNode(
|
|
15626
|
+
const node = createBaseNode(326 /* JSDocLinkPlain */);
|
|
15654
15627
|
node.name = name;
|
|
15655
15628
|
node.text = text;
|
|
15656
15629
|
return node;
|
|
@@ -15677,14 +15650,14 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
15677
15650
|
return node.tagName !== tagName || node.typeExpression !== typeExpression || node.comment !== comment ? update(createJSDocTypeLikeTagWorker(kind, tagName, typeExpression, comment), node) : node;
|
|
15678
15651
|
}
|
|
15679
15652
|
function createJSDocUnknownTag(tagName, comment) {
|
|
15680
|
-
const node = createBaseJSDocTag(
|
|
15653
|
+
const node = createBaseJSDocTag(327 /* JSDocTag */, tagName, comment);
|
|
15681
15654
|
return node;
|
|
15682
15655
|
}
|
|
15683
15656
|
function updateJSDocUnknownTag(node, tagName, comment) {
|
|
15684
15657
|
return node.tagName !== tagName || node.comment !== comment ? update(createJSDocUnknownTag(tagName, comment), node) : node;
|
|
15685
15658
|
}
|
|
15686
15659
|
function createJSDocEnumTag(tagName, typeExpression, comment) {
|
|
15687
|
-
const node = createBaseJSDocTagDeclaration(
|
|
15660
|
+
const node = createBaseJSDocTagDeclaration(340 /* JSDocEnumTag */, tagName ?? createIdentifier(getDefaultTagNameForKind(340 /* JSDocEnumTag */)), comment);
|
|
15688
15661
|
node.typeExpression = typeExpression;
|
|
15689
15662
|
node.locals = void 0;
|
|
15690
15663
|
node.nextContainer = void 0;
|
|
@@ -15694,7 +15667,7 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
15694
15667
|
return node.tagName !== tagName || node.typeExpression !== typeExpression || node.comment !== comment ? update(createJSDocEnumTag(tagName, typeExpression, comment), node) : node;
|
|
15695
15668
|
}
|
|
15696
15669
|
function createJSDocText(text) {
|
|
15697
|
-
const node = createBaseNode(
|
|
15670
|
+
const node = createBaseNode(321 /* JSDocText */);
|
|
15698
15671
|
node.text = text;
|
|
15699
15672
|
return node;
|
|
15700
15673
|
}
|
|
@@ -15702,7 +15675,7 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
15702
15675
|
return node.text !== text ? update(createJSDocText(text), node) : node;
|
|
15703
15676
|
}
|
|
15704
15677
|
function createJSDocComment(comment, tags) {
|
|
15705
|
-
const node = createBaseNode(
|
|
15678
|
+
const node = createBaseNode(320 /* JSDoc */);
|
|
15706
15679
|
node.comment = comment;
|
|
15707
15680
|
node.tags = asNodeArray(tags);
|
|
15708
15681
|
return node;
|
|
@@ -15957,7 +15930,7 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
15957
15930
|
return node.name !== name || node.initializer !== initializer ? update(createEnumMember(name, initializer), node) : node;
|
|
15958
15931
|
}
|
|
15959
15932
|
function createSourceFile2(statements, endOfFileToken, flags2) {
|
|
15960
|
-
const node = baseFactory2.createBaseSourceFileNode(
|
|
15933
|
+
const node = baseFactory2.createBaseSourceFileNode(307 /* SourceFile */);
|
|
15961
15934
|
node.statements = createNodeArray(statements);
|
|
15962
15935
|
node.endOfFileToken = endOfFileToken;
|
|
15963
15936
|
node.flags |= flags2;
|
|
@@ -15966,7 +15939,7 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
15966
15939
|
node.path = "";
|
|
15967
15940
|
node.resolvedPath = "";
|
|
15968
15941
|
node.originalFileName = "";
|
|
15969
|
-
node.languageVersion =
|
|
15942
|
+
node.languageVersion = 1 /* ES5 */;
|
|
15970
15943
|
node.languageVariant = 0;
|
|
15971
15944
|
node.scriptKind = 0;
|
|
15972
15945
|
node.isDeclarationFile = false;
|
|
@@ -16037,7 +16010,7 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
16037
16010
|
return node;
|
|
16038
16011
|
}
|
|
16039
16012
|
function cloneSourceFileWorker(source) {
|
|
16040
|
-
const node = baseFactory2.createBaseSourceFileNode(
|
|
16013
|
+
const node = baseFactory2.createBaseSourceFileNode(307 /* SourceFile */);
|
|
16041
16014
|
node.flags |= source.flags & ~16 /* Synthesized */;
|
|
16042
16015
|
for (const p in source) {
|
|
16043
16016
|
if (hasProperty(node, p) || !hasProperty(source, p)) {
|
|
@@ -16070,9 +16043,8 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
16070
16043
|
function updateSourceFile(node, statements, isDeclarationFile = node.isDeclarationFile, referencedFiles = node.referencedFiles, typeReferenceDirectives = node.typeReferenceDirectives, hasNoDefaultLib = node.hasNoDefaultLib, libReferenceDirectives = node.libReferenceDirectives) {
|
|
16071
16044
|
return node.statements !== statements || node.isDeclarationFile !== isDeclarationFile || node.referencedFiles !== referencedFiles || node.typeReferenceDirectives !== typeReferenceDirectives || node.hasNoDefaultLib !== hasNoDefaultLib || node.libReferenceDirectives !== libReferenceDirectives ? update(cloneSourceFileWithChanges(node, statements, isDeclarationFile, referencedFiles, typeReferenceDirectives, hasNoDefaultLib, libReferenceDirectives), node) : node;
|
|
16072
16045
|
}
|
|
16073
|
-
function createBundle(sourceFiles
|
|
16074
|
-
const node = createBaseNode(
|
|
16075
|
-
node.prepends = prepends;
|
|
16046
|
+
function createBundle(sourceFiles) {
|
|
16047
|
+
const node = createBaseNode(308 /* Bundle */);
|
|
16076
16048
|
node.sourceFiles = sourceFiles;
|
|
16077
16049
|
node.syntheticFileReferences = void 0;
|
|
16078
16050
|
node.syntheticTypeReferences = void 0;
|
|
@@ -16080,48 +16052,8 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
16080
16052
|
node.hasNoDefaultLib = void 0;
|
|
16081
16053
|
return node;
|
|
16082
16054
|
}
|
|
16083
|
-
function updateBundle(node, sourceFiles
|
|
16084
|
-
return node.sourceFiles !== sourceFiles
|
|
16085
|
-
}
|
|
16086
|
-
function createUnparsedSource(prologues, syntheticReferences, texts) {
|
|
16087
|
-
const node = createBaseNode(314 /* UnparsedSource */);
|
|
16088
|
-
node.prologues = prologues;
|
|
16089
|
-
node.syntheticReferences = syntheticReferences;
|
|
16090
|
-
node.texts = texts;
|
|
16091
|
-
node.fileName = "";
|
|
16092
|
-
node.text = "";
|
|
16093
|
-
node.referencedFiles = emptyArray;
|
|
16094
|
-
node.libReferenceDirectives = emptyArray;
|
|
16095
|
-
node.getLineAndCharacterOfPosition = (pos) => getLineAndCharacterOfPosition(node, pos);
|
|
16096
|
-
return node;
|
|
16097
|
-
}
|
|
16098
|
-
function createBaseUnparsedNode(kind, data) {
|
|
16099
|
-
const node = createBaseNode(kind);
|
|
16100
|
-
node.data = data;
|
|
16101
|
-
return node;
|
|
16102
|
-
}
|
|
16103
|
-
function createUnparsedPrologue(data) {
|
|
16104
|
-
return createBaseUnparsedNode(307 /* UnparsedPrologue */, data);
|
|
16105
|
-
}
|
|
16106
|
-
function createUnparsedPrepend(data, texts) {
|
|
16107
|
-
const node = createBaseUnparsedNode(308 /* UnparsedPrepend */, data);
|
|
16108
|
-
node.texts = texts;
|
|
16109
|
-
return node;
|
|
16110
|
-
}
|
|
16111
|
-
function createUnparsedTextLike(data, internal) {
|
|
16112
|
-
return createBaseUnparsedNode(internal ? 310 /* UnparsedInternalText */ : 309 /* UnparsedText */, data);
|
|
16113
|
-
}
|
|
16114
|
-
function createUnparsedSyntheticReference(section) {
|
|
16115
|
-
const node = createBaseNode(311 /* UnparsedSyntheticReference */);
|
|
16116
|
-
node.data = section.data;
|
|
16117
|
-
node.section = section;
|
|
16118
|
-
return node;
|
|
16119
|
-
}
|
|
16120
|
-
function createInputFiles() {
|
|
16121
|
-
const node = createBaseNode(315 /* InputFiles */);
|
|
16122
|
-
node.javascriptText = "";
|
|
16123
|
-
node.declarationText = "";
|
|
16124
|
-
return node;
|
|
16055
|
+
function updateBundle(node, sourceFiles) {
|
|
16056
|
+
return node.sourceFiles !== sourceFiles ? update(createBundle(sourceFiles), node) : node;
|
|
16125
16057
|
}
|
|
16126
16058
|
function createSyntheticExpression(type, isSpread = false, tupleNameSource) {
|
|
16127
16059
|
const node = createBaseNode(237 /* SyntheticExpression */);
|
|
@@ -16131,18 +16063,18 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
16131
16063
|
return node;
|
|
16132
16064
|
}
|
|
16133
16065
|
function createSyntaxList(children) {
|
|
16134
|
-
const node = createBaseNode(
|
|
16066
|
+
const node = createBaseNode(351 /* SyntaxList */);
|
|
16135
16067
|
node._children = children;
|
|
16136
16068
|
return node;
|
|
16137
16069
|
}
|
|
16138
16070
|
function createNotEmittedStatement(original) {
|
|
16139
|
-
const node = createBaseNode(
|
|
16071
|
+
const node = createBaseNode(352 /* NotEmittedStatement */);
|
|
16140
16072
|
node.original = original;
|
|
16141
16073
|
setTextRange(node, original);
|
|
16142
16074
|
return node;
|
|
16143
16075
|
}
|
|
16144
16076
|
function createPartiallyEmittedExpression(expression, original) {
|
|
16145
|
-
const node = createBaseNode(
|
|
16077
|
+
const node = createBaseNode(353 /* PartiallyEmittedExpression */);
|
|
16146
16078
|
node.expression = expression;
|
|
16147
16079
|
node.original = original;
|
|
16148
16080
|
node.transformFlags |= propagateChildFlags(node.expression) | 1 /* ContainsTypeScript */;
|
|
@@ -16164,7 +16096,7 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
16164
16096
|
return node;
|
|
16165
16097
|
}
|
|
16166
16098
|
function createCommaListExpression(elements) {
|
|
16167
|
-
const node = createBaseNode(
|
|
16099
|
+
const node = createBaseNode(354 /* CommaListExpression */);
|
|
16168
16100
|
node.elements = createNodeArray(sameFlatMap(elements, flattenCommaElements));
|
|
16169
16101
|
node.transformFlags |= propagateChildrenFlags(node.elements);
|
|
16170
16102
|
return node;
|
|
@@ -16173,7 +16105,7 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
16173
16105
|
return node.elements !== elements ? update(createCommaListExpression(elements), node) : node;
|
|
16174
16106
|
}
|
|
16175
16107
|
function createSyntheticReferenceExpression(expression, thisArg) {
|
|
16176
|
-
const node = createBaseNode(
|
|
16108
|
+
const node = createBaseNode(355 /* SyntheticReferenceExpression */);
|
|
16177
16109
|
node.expression = expression;
|
|
16178
16110
|
node.thisArg = thisArg;
|
|
16179
16111
|
node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.thisArg);
|
|
@@ -16183,40 +16115,40 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
16183
16115
|
return node.expression !== expression || node.thisArg !== thisArg ? update(createSyntheticReferenceExpression(expression, thisArg), node) : node;
|
|
16184
16116
|
}
|
|
16185
16117
|
function cloneGeneratedIdentifier(node) {
|
|
16186
|
-
const
|
|
16187
|
-
|
|
16188
|
-
|
|
16189
|
-
setOriginal(
|
|
16190
|
-
setIdentifierAutoGenerate(
|
|
16191
|
-
return
|
|
16118
|
+
const clone = createBaseIdentifier(node.escapedText);
|
|
16119
|
+
clone.flags |= node.flags & ~16 /* Synthesized */;
|
|
16120
|
+
clone.transformFlags = node.transformFlags;
|
|
16121
|
+
setOriginal(clone, node);
|
|
16122
|
+
setIdentifierAutoGenerate(clone, { ...node.emitNode.autoGenerate });
|
|
16123
|
+
return clone;
|
|
16192
16124
|
}
|
|
16193
16125
|
function cloneIdentifier(node) {
|
|
16194
|
-
const
|
|
16195
|
-
|
|
16196
|
-
|
|
16197
|
-
|
|
16198
|
-
|
|
16199
|
-
|
|
16200
|
-
setOriginal(
|
|
16126
|
+
const clone = createBaseIdentifier(node.escapedText);
|
|
16127
|
+
clone.flags |= node.flags & ~16 /* Synthesized */;
|
|
16128
|
+
clone.jsDoc = node.jsDoc;
|
|
16129
|
+
clone.flowNode = node.flowNode;
|
|
16130
|
+
clone.symbol = node.symbol;
|
|
16131
|
+
clone.transformFlags = node.transformFlags;
|
|
16132
|
+
setOriginal(clone, node);
|
|
16201
16133
|
const typeArguments = getIdentifierTypeArguments(node);
|
|
16202
16134
|
if (typeArguments)
|
|
16203
|
-
setIdentifierTypeArguments(
|
|
16204
|
-
return
|
|
16135
|
+
setIdentifierTypeArguments(clone, typeArguments);
|
|
16136
|
+
return clone;
|
|
16205
16137
|
}
|
|
16206
16138
|
function cloneGeneratedPrivateIdentifier(node) {
|
|
16207
|
-
const
|
|
16208
|
-
|
|
16209
|
-
|
|
16210
|
-
setOriginal(
|
|
16211
|
-
setIdentifierAutoGenerate(
|
|
16212
|
-
return
|
|
16139
|
+
const clone = createBasePrivateIdentifier(node.escapedText);
|
|
16140
|
+
clone.flags |= node.flags & ~16 /* Synthesized */;
|
|
16141
|
+
clone.transformFlags = node.transformFlags;
|
|
16142
|
+
setOriginal(clone, node);
|
|
16143
|
+
setIdentifierAutoGenerate(clone, { ...node.emitNode.autoGenerate });
|
|
16144
|
+
return clone;
|
|
16213
16145
|
}
|
|
16214
16146
|
function clonePrivateIdentifier(node) {
|
|
16215
|
-
const
|
|
16216
|
-
|
|
16217
|
-
|
|
16218
|
-
setOriginal(
|
|
16219
|
-
return
|
|
16147
|
+
const clone = createBasePrivateIdentifier(node.escapedText);
|
|
16148
|
+
clone.flags |= node.flags & ~16 /* Synthesized */;
|
|
16149
|
+
clone.transformFlags = node.transformFlags;
|
|
16150
|
+
setOriginal(clone, node);
|
|
16151
|
+
return clone;
|
|
16220
16152
|
}
|
|
16221
16153
|
function cloneNode(node) {
|
|
16222
16154
|
if (node === void 0) {
|
|
@@ -16237,17 +16169,17 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
16237
16169
|
if (isPrivateIdentifier(node)) {
|
|
16238
16170
|
return clonePrivateIdentifier(node);
|
|
16239
16171
|
}
|
|
16240
|
-
const
|
|
16241
|
-
|
|
16242
|
-
|
|
16243
|
-
setOriginal(
|
|
16172
|
+
const clone = !isNodeKind(node.kind) ? baseFactory2.createBaseTokenNode(node.kind) : baseFactory2.createBaseNode(node.kind);
|
|
16173
|
+
clone.flags |= node.flags & ~16 /* Synthesized */;
|
|
16174
|
+
clone.transformFlags = node.transformFlags;
|
|
16175
|
+
setOriginal(clone, node);
|
|
16244
16176
|
for (const key in node) {
|
|
16245
|
-
if (hasProperty(
|
|
16177
|
+
if (hasProperty(clone, key) || !hasProperty(node, key)) {
|
|
16246
16178
|
continue;
|
|
16247
16179
|
}
|
|
16248
|
-
|
|
16180
|
+
clone[key] = node[key];
|
|
16249
16181
|
}
|
|
16250
|
-
return
|
|
16182
|
+
return clone;
|
|
16251
16183
|
}
|
|
16252
16184
|
function createImmediatelyInvokedFunctionExpression(statements, param, paramValue) {
|
|
16253
16185
|
return createCallExpression(
|
|
@@ -16419,7 +16351,7 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
16419
16351
|
return updateSatisfiesExpression(outerExpression, expression, outerExpression.type);
|
|
16420
16352
|
case 235 /* NonNullExpression */:
|
|
16421
16353
|
return updateNonNullExpression(outerExpression, expression);
|
|
16422
|
-
case
|
|
16354
|
+
case 353 /* PartiallyEmittedExpression */:
|
|
16423
16355
|
return updatePartiallyEmittedExpression(outerExpression, expression);
|
|
16424
16356
|
}
|
|
16425
16357
|
}
|
|
@@ -16791,43 +16723,43 @@ function createNodeFactory(flags, baseFactory2) {
|
|
|
16791
16723
|
}
|
|
16792
16724
|
function getDefaultTagNameForKind(kind) {
|
|
16793
16725
|
switch (kind) {
|
|
16794
|
-
case
|
|
16726
|
+
case 344 /* JSDocTypeTag */:
|
|
16795
16727
|
return "type";
|
|
16796
|
-
case
|
|
16728
|
+
case 342 /* JSDocReturnTag */:
|
|
16797
16729
|
return "returns";
|
|
16798
|
-
case
|
|
16730
|
+
case 343 /* JSDocThisTag */:
|
|
16799
16731
|
return "this";
|
|
16800
|
-
case
|
|
16732
|
+
case 340 /* JSDocEnumTag */:
|
|
16801
16733
|
return "enum";
|
|
16802
|
-
case
|
|
16734
|
+
case 330 /* JSDocAuthorTag */:
|
|
16803
16735
|
return "author";
|
|
16804
|
-
case
|
|
16736
|
+
case 332 /* JSDocClassTag */:
|
|
16805
16737
|
return "class";
|
|
16806
|
-
case
|
|
16738
|
+
case 333 /* JSDocPublicTag */:
|
|
16807
16739
|
return "public";
|
|
16808
|
-
case
|
|
16740
|
+
case 334 /* JSDocPrivateTag */:
|
|
16809
16741
|
return "private";
|
|
16810
|
-
case
|
|
16742
|
+
case 335 /* JSDocProtectedTag */:
|
|
16811
16743
|
return "protected";
|
|
16812
|
-
case
|
|
16744
|
+
case 336 /* JSDocReadonlyTag */:
|
|
16813
16745
|
return "readonly";
|
|
16814
|
-
case
|
|
16746
|
+
case 337 /* JSDocOverrideTag */:
|
|
16815
16747
|
return "override";
|
|
16816
|
-
case
|
|
16748
|
+
case 345 /* JSDocTemplateTag */:
|
|
16817
16749
|
return "template";
|
|
16818
|
-
case
|
|
16750
|
+
case 346 /* JSDocTypedefTag */:
|
|
16819
16751
|
return "typedef";
|
|
16820
|
-
case
|
|
16752
|
+
case 341 /* JSDocParameterTag */:
|
|
16821
16753
|
return "param";
|
|
16822
|
-
case
|
|
16754
|
+
case 348 /* JSDocPropertyTag */:
|
|
16823
16755
|
return "prop";
|
|
16824
|
-
case
|
|
16756
|
+
case 338 /* JSDocCallbackTag */:
|
|
16825
16757
|
return "callback";
|
|
16826
|
-
case
|
|
16758
|
+
case 339 /* JSDocOverloadTag */:
|
|
16827
16759
|
return "overload";
|
|
16828
|
-
case
|
|
16760
|
+
case 328 /* JSDocAugmentsTag */:
|
|
16829
16761
|
return "augments";
|
|
16830
|
-
case
|
|
16762
|
+
case 329 /* JSDocImplementsTag */:
|
|
16831
16763
|
return "implements";
|
|
16832
16764
|
default:
|
|
16833
16765
|
return Debug.fail(`Unsupported kind: ${Debug.formatSyntaxKind(kind)}`);
|
|
@@ -16969,7 +16901,7 @@ function getTransformFlagsSubtreeExclusions(kind) {
|
|
|
16969
16901
|
case 216 /* TypeAssertionExpression */:
|
|
16970
16902
|
case 238 /* SatisfiesExpression */:
|
|
16971
16903
|
case 234 /* AsExpression */:
|
|
16972
|
-
case
|
|
16904
|
+
case 353 /* PartiallyEmittedExpression */:
|
|
16973
16905
|
case 217 /* ParenthesizedExpression */:
|
|
16974
16906
|
case 108 /* SuperKeyword */:
|
|
16975
16907
|
return -2147483648 /* OuterExpressionExcludes */;
|
|
@@ -17078,7 +17010,7 @@ function mergeTokenSourceMapRanges(sourceRanges, destRanges) {
|
|
|
17078
17010
|
function getOrCreateEmitNode(node) {
|
|
17079
17011
|
if (!node.emitNode) {
|
|
17080
17012
|
if (isParseTreeNode(node)) {
|
|
17081
|
-
if (node.kind ===
|
|
17013
|
+
if (node.kind === 307 /* SourceFile */) {
|
|
17082
17014
|
return node.emitNode = { annotatedNodes: [node] };
|
|
17083
17015
|
}
|
|
17084
17016
|
const sourceFile = getSourceFileOfNode(getParseTreeNode(getSourceFileOfNode(node))) ?? Debug.fail("Could not determine parsed source file.");
|
|
@@ -17413,7 +17345,7 @@ function isMetaProperty(node) {
|
|
|
17413
17345
|
return node.kind === 236 /* MetaProperty */;
|
|
17414
17346
|
}
|
|
17415
17347
|
function isCommaListExpression(node) {
|
|
17416
|
-
return node.kind ===
|
|
17348
|
+
return node.kind === 354 /* CommaListExpression */;
|
|
17417
17349
|
}
|
|
17418
17350
|
function isTemplateSpan(node) {
|
|
17419
17351
|
return node.kind === 239 /* TemplateSpan */;
|
|
@@ -17488,7 +17420,7 @@ function isExportSpecifier(node) {
|
|
|
17488
17420
|
return node.kind === 281 /* ExportSpecifier */;
|
|
17489
17421
|
}
|
|
17490
17422
|
function isNotEmittedStatement(node) {
|
|
17491
|
-
return node.kind ===
|
|
17423
|
+
return node.kind === 352 /* NotEmittedStatement */;
|
|
17492
17424
|
}
|
|
17493
17425
|
function isExternalModuleReference(node) {
|
|
17494
17426
|
return node.kind === 283 /* ExternalModuleReference */;
|
|
@@ -17527,55 +17459,55 @@ function isEnumMember(node) {
|
|
|
17527
17459
|
return node.kind === 306 /* EnumMember */;
|
|
17528
17460
|
}
|
|
17529
17461
|
function isSourceFile(node) {
|
|
17530
|
-
return node.kind ===
|
|
17462
|
+
return node.kind === 307 /* SourceFile */;
|
|
17531
17463
|
}
|
|
17532
17464
|
function isJSDocTypeExpression(node) {
|
|
17533
|
-
return node.kind ===
|
|
17465
|
+
return node.kind === 309 /* JSDocTypeExpression */;
|
|
17534
17466
|
}
|
|
17535
17467
|
function isJSDocNullableType(node) {
|
|
17536
|
-
return node.kind ===
|
|
17468
|
+
return node.kind === 314 /* JSDocNullableType */;
|
|
17537
17469
|
}
|
|
17538
17470
|
function isJSDocFunctionType(node) {
|
|
17539
|
-
return node.kind ===
|
|
17471
|
+
return node.kind === 317 /* JSDocFunctionType */;
|
|
17540
17472
|
}
|
|
17541
17473
|
function isJSDoc(node) {
|
|
17542
|
-
return node.kind ===
|
|
17474
|
+
return node.kind === 320 /* JSDoc */;
|
|
17543
17475
|
}
|
|
17544
17476
|
function isJSDocPublicTag(node) {
|
|
17545
|
-
return node.kind ===
|
|
17477
|
+
return node.kind === 333 /* JSDocPublicTag */;
|
|
17546
17478
|
}
|
|
17547
17479
|
function isJSDocPrivateTag(node) {
|
|
17548
|
-
return node.kind ===
|
|
17480
|
+
return node.kind === 334 /* JSDocPrivateTag */;
|
|
17549
17481
|
}
|
|
17550
17482
|
function isJSDocProtectedTag(node) {
|
|
17551
|
-
return node.kind ===
|
|
17483
|
+
return node.kind === 335 /* JSDocProtectedTag */;
|
|
17552
17484
|
}
|
|
17553
17485
|
function isJSDocReadonlyTag(node) {
|
|
17554
|
-
return node.kind ===
|
|
17486
|
+
return node.kind === 336 /* JSDocReadonlyTag */;
|
|
17555
17487
|
}
|
|
17556
17488
|
function isJSDocOverrideTag(node) {
|
|
17557
|
-
return node.kind ===
|
|
17489
|
+
return node.kind === 337 /* JSDocOverrideTag */;
|
|
17558
17490
|
}
|
|
17559
17491
|
function isJSDocOverloadTag(node) {
|
|
17560
|
-
return node.kind ===
|
|
17492
|
+
return node.kind === 339 /* JSDocOverloadTag */;
|
|
17561
17493
|
}
|
|
17562
17494
|
function isJSDocDeprecatedTag(node) {
|
|
17563
|
-
return node.kind ===
|
|
17495
|
+
return node.kind === 331 /* JSDocDeprecatedTag */;
|
|
17564
17496
|
}
|
|
17565
17497
|
function isJSDocParameterTag(node) {
|
|
17566
|
-
return node.kind ===
|
|
17498
|
+
return node.kind === 341 /* JSDocParameterTag */;
|
|
17567
17499
|
}
|
|
17568
17500
|
function isJSDocReturnTag(node) {
|
|
17569
|
-
return node.kind ===
|
|
17501
|
+
return node.kind === 342 /* JSDocReturnTag */;
|
|
17570
17502
|
}
|
|
17571
17503
|
function isJSDocTypeTag(node) {
|
|
17572
|
-
return node.kind ===
|
|
17504
|
+
return node.kind === 344 /* JSDocTypeTag */;
|
|
17573
17505
|
}
|
|
17574
17506
|
function isJSDocTemplateTag(node) {
|
|
17575
|
-
return node.kind ===
|
|
17507
|
+
return node.kind === 345 /* JSDocTemplateTag */;
|
|
17576
17508
|
}
|
|
17577
17509
|
function isJSDocSatisfiesTag(node) {
|
|
17578
|
-
return node.kind ===
|
|
17510
|
+
return node.kind === 350 /* JSDocSatisfiesTag */;
|
|
17579
17511
|
}
|
|
17580
17512
|
|
|
17581
17513
|
// src/compiler/factory/utilities.ts
|
|
@@ -17620,7 +17552,7 @@ function isOuterExpression(node, kinds = 15 /* All */) {
|
|
|
17620
17552
|
return (kinds & 2 /* TypeAssertions */) !== 0;
|
|
17621
17553
|
case 235 /* NonNullExpression */:
|
|
17622
17554
|
return (kinds & 4 /* NonNullAssertions */) !== 0;
|
|
17623
|
-
case
|
|
17555
|
+
case 353 /* PartiallyEmittedExpression */:
|
|
17624
17556
|
return (kinds & 8 /* PartiallyEmittedExpressions */) !== 0;
|
|
17625
17557
|
}
|
|
17626
17558
|
return false;
|
|
@@ -18142,7 +18074,7 @@ var forEachChildTable = {
|
|
|
18142
18074
|
},
|
|
18143
18075
|
[241 /* Block */]: forEachChildInBlock,
|
|
18144
18076
|
[268 /* ModuleBlock */]: forEachChildInBlock,
|
|
18145
|
-
[
|
|
18077
|
+
[307 /* SourceFile */]: function forEachChildInSourceFile(node, cbNode, cbNodes) {
|
|
18146
18078
|
return visitNodes(cbNode, cbNodes, node.statements) || visitNode2(cbNode, node.endOfFileToken);
|
|
18147
18079
|
},
|
|
18148
18080
|
[243 /* VariableStatement */]: function forEachChildInVariableStatement(node, cbNode, cbNodes) {
|
|
@@ -18285,7 +18217,7 @@ var forEachChildTable = {
|
|
|
18285
18217
|
[282 /* MissingDeclaration */]: function forEachChildInMissingDeclaration(node, cbNode, cbNodes) {
|
|
18286
18218
|
return visitNodes(cbNode, cbNodes, node.modifiers);
|
|
18287
18219
|
},
|
|
18288
|
-
[
|
|
18220
|
+
[354 /* CommaListExpression */]: function forEachChildInCommaListExpression(node, cbNode, cbNodes) {
|
|
18289
18221
|
return visitNodes(cbNode, cbNodes, node.elements);
|
|
18290
18222
|
},
|
|
18291
18223
|
[284 /* JsxElement */]: function forEachChildInJsxElement(node, cbNode, cbNodes) {
|
|
@@ -18316,71 +18248,71 @@ var forEachChildTable = {
|
|
|
18316
18248
|
},
|
|
18317
18249
|
[190 /* OptionalType */]: forEachChildInOptionalRestOrJSDocParameterModifier,
|
|
18318
18250
|
[191 /* RestType */]: forEachChildInOptionalRestOrJSDocParameterModifier,
|
|
18319
|
-
[
|
|
18320
|
-
[
|
|
18321
|
-
[
|
|
18322
|
-
[
|
|
18323
|
-
[
|
|
18324
|
-
[
|
|
18251
|
+
[309 /* JSDocTypeExpression */]: forEachChildInOptionalRestOrJSDocParameterModifier,
|
|
18252
|
+
[315 /* JSDocNonNullableType */]: forEachChildInOptionalRestOrJSDocParameterModifier,
|
|
18253
|
+
[314 /* JSDocNullableType */]: forEachChildInOptionalRestOrJSDocParameterModifier,
|
|
18254
|
+
[316 /* JSDocOptionalType */]: forEachChildInOptionalRestOrJSDocParameterModifier,
|
|
18255
|
+
[318 /* JSDocVariadicType */]: forEachChildInOptionalRestOrJSDocParameterModifier,
|
|
18256
|
+
[317 /* JSDocFunctionType */]: function forEachChildInJSDocFunctionType(node, cbNode, cbNodes) {
|
|
18325
18257
|
return visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type);
|
|
18326
18258
|
},
|
|
18327
|
-
[
|
|
18259
|
+
[320 /* JSDoc */]: function forEachChildInJSDoc(node, cbNode, cbNodes) {
|
|
18328
18260
|
return (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)) || visitNodes(cbNode, cbNodes, node.tags);
|
|
18329
18261
|
},
|
|
18330
|
-
[
|
|
18262
|
+
[347 /* JSDocSeeTag */]: function forEachChildInJSDocSeeTag(node, cbNode, cbNodes) {
|
|
18331
18263
|
return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.name) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment));
|
|
18332
18264
|
},
|
|
18333
|
-
[
|
|
18265
|
+
[310 /* JSDocNameReference */]: function forEachChildInJSDocNameReference(node, cbNode, _cbNodes) {
|
|
18334
18266
|
return visitNode2(cbNode, node.name);
|
|
18335
18267
|
},
|
|
18336
|
-
[
|
|
18268
|
+
[311 /* JSDocMemberName */]: function forEachChildInJSDocMemberName(node, cbNode, _cbNodes) {
|
|
18337
18269
|
return visitNode2(cbNode, node.left) || visitNode2(cbNode, node.right);
|
|
18338
18270
|
},
|
|
18339
|
-
[
|
|
18340
|
-
[
|
|
18341
|
-
[
|
|
18271
|
+
[341 /* JSDocParameterTag */]: forEachChildInJSDocParameterOrPropertyTag,
|
|
18272
|
+
[348 /* JSDocPropertyTag */]: forEachChildInJSDocParameterOrPropertyTag,
|
|
18273
|
+
[330 /* JSDocAuthorTag */]: function forEachChildInJSDocAuthorTag(node, cbNode, cbNodes) {
|
|
18342
18274
|
return visitNode2(cbNode, node.tagName) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment));
|
|
18343
18275
|
},
|
|
18344
|
-
[
|
|
18276
|
+
[329 /* JSDocImplementsTag */]: function forEachChildInJSDocImplementsTag(node, cbNode, cbNodes) {
|
|
18345
18277
|
return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.class) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment));
|
|
18346
18278
|
},
|
|
18347
|
-
[
|
|
18279
|
+
[328 /* JSDocAugmentsTag */]: function forEachChildInJSDocAugmentsTag(node, cbNode, cbNodes) {
|
|
18348
18280
|
return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.class) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment));
|
|
18349
18281
|
},
|
|
18350
|
-
[
|
|
18282
|
+
[345 /* JSDocTemplateTag */]: function forEachChildInJSDocTemplateTag(node, cbNode, cbNodes) {
|
|
18351
18283
|
return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.constraint) || visitNodes(cbNode, cbNodes, node.typeParameters) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment));
|
|
18352
18284
|
},
|
|
18353
|
-
[
|
|
18354
|
-
return visitNode2(cbNode, node.tagName) || (node.typeExpression && node.typeExpression.kind ===
|
|
18285
|
+
[346 /* JSDocTypedefTag */]: function forEachChildInJSDocTypedefTag(node, cbNode, cbNodes) {
|
|
18286
|
+
return visitNode2(cbNode, node.tagName) || (node.typeExpression && node.typeExpression.kind === 309 /* JSDocTypeExpression */ ? visitNode2(cbNode, node.typeExpression) || visitNode2(cbNode, node.fullName) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)) : visitNode2(cbNode, node.fullName) || visitNode2(cbNode, node.typeExpression) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)));
|
|
18355
18287
|
},
|
|
18356
|
-
[
|
|
18288
|
+
[338 /* JSDocCallbackTag */]: function forEachChildInJSDocCallbackTag(node, cbNode, cbNodes) {
|
|
18357
18289
|
return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.fullName) || visitNode2(cbNode, node.typeExpression) || (typeof node.comment === "string" ? void 0 : visitNodes(cbNode, cbNodes, node.comment));
|
|
18358
18290
|
},
|
|
18359
|
-
[
|
|
18360
|
-
[
|
|
18361
|
-
[
|
|
18362
|
-
[
|
|
18363
|
-
[
|
|
18364
|
-
[
|
|
18365
|
-
[
|
|
18366
|
-
[
|
|
18291
|
+
[342 /* JSDocReturnTag */]: forEachChildInJSDocTypeLikeTag,
|
|
18292
|
+
[344 /* JSDocTypeTag */]: forEachChildInJSDocTypeLikeTag,
|
|
18293
|
+
[343 /* JSDocThisTag */]: forEachChildInJSDocTypeLikeTag,
|
|
18294
|
+
[340 /* JSDocEnumTag */]: forEachChildInJSDocTypeLikeTag,
|
|
18295
|
+
[350 /* JSDocSatisfiesTag */]: forEachChildInJSDocTypeLikeTag,
|
|
18296
|
+
[349 /* JSDocThrowsTag */]: forEachChildInJSDocTypeLikeTag,
|
|
18297
|
+
[339 /* JSDocOverloadTag */]: forEachChildInJSDocTypeLikeTag,
|
|
18298
|
+
[323 /* JSDocSignature */]: function forEachChildInJSDocSignature(node, cbNode, _cbNodes) {
|
|
18367
18299
|
return forEach(node.typeParameters, cbNode) || forEach(node.parameters, cbNode) || visitNode2(cbNode, node.type);
|
|
18368
18300
|
},
|
|
18369
|
-
[
|
|
18370
|
-
[
|
|
18371
|
-
[
|
|
18372
|
-
[
|
|
18301
|
+
[324 /* JSDocLink */]: forEachChildInJSDocLinkCodeOrPlain,
|
|
18302
|
+
[325 /* JSDocLinkCode */]: forEachChildInJSDocLinkCodeOrPlain,
|
|
18303
|
+
[326 /* JSDocLinkPlain */]: forEachChildInJSDocLinkCodeOrPlain,
|
|
18304
|
+
[322 /* JSDocTypeLiteral */]: function forEachChildInJSDocTypeLiteral(node, cbNode, _cbNodes) {
|
|
18373
18305
|
return forEach(node.jsDocPropertyTags, cbNode);
|
|
18374
18306
|
},
|
|
18375
|
-
[
|
|
18376
|
-
[
|
|
18377
|
-
[
|
|
18378
|
-
[
|
|
18379
|
-
[
|
|
18380
|
-
[
|
|
18381
|
-
[
|
|
18382
|
-
[
|
|
18383
|
-
[
|
|
18307
|
+
[327 /* JSDocTag */]: forEachChildInJSDocTag,
|
|
18308
|
+
[332 /* JSDocClassTag */]: forEachChildInJSDocTag,
|
|
18309
|
+
[333 /* JSDocPublicTag */]: forEachChildInJSDocTag,
|
|
18310
|
+
[334 /* JSDocPrivateTag */]: forEachChildInJSDocTag,
|
|
18311
|
+
[335 /* JSDocProtectedTag */]: forEachChildInJSDocTag,
|
|
18312
|
+
[336 /* JSDocReadonlyTag */]: forEachChildInJSDocTag,
|
|
18313
|
+
[331 /* JSDocDeprecatedTag */]: forEachChildInJSDocTag,
|
|
18314
|
+
[337 /* JSDocOverrideTag */]: forEachChildInJSDocTag,
|
|
18315
|
+
[353 /* PartiallyEmittedExpression */]: forEachChildInPartiallyEmittedExpression
|
|
18384
18316
|
};
|
|
18385
18317
|
function forEachChildInCallOrConstructSignature(node, cbNode, cbNodes) {
|
|
18386
18318
|
return visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type);
|
|
@@ -24842,9 +24774,9 @@ var Parser;
|
|
|
24842
24774
|
let child;
|
|
24843
24775
|
let children;
|
|
24844
24776
|
while (child = tryParse(() => parseChildParameterOrPropertyTag(target, indent3, name))) {
|
|
24845
|
-
if (child.kind ===
|
|
24777
|
+
if (child.kind === 341 /* JSDocParameterTag */ || child.kind === 348 /* JSDocPropertyTag */) {
|
|
24846
24778
|
children = append(children, child);
|
|
24847
|
-
} else if (child.kind ===
|
|
24779
|
+
} else if (child.kind === 345 /* JSDocTemplateTag */) {
|
|
24848
24780
|
parseErrorAtRange(child.tagName, Diagnostics.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);
|
|
24849
24781
|
}
|
|
24850
24782
|
}
|
|
@@ -24984,11 +24916,11 @@ var Parser;
|
|
|
24984
24916
|
let jsDocPropertyTags;
|
|
24985
24917
|
let hasChildren = false;
|
|
24986
24918
|
while (child = tryParse(() => parseChildPropertyTag(indent3))) {
|
|
24987
|
-
if (child.kind ===
|
|
24919
|
+
if (child.kind === 345 /* JSDocTemplateTag */) {
|
|
24988
24920
|
break;
|
|
24989
24921
|
}
|
|
24990
24922
|
hasChildren = true;
|
|
24991
|
-
if (child.kind ===
|
|
24923
|
+
if (child.kind === 344 /* JSDocTypeTag */) {
|
|
24992
24924
|
if (childTypeTag) {
|
|
24993
24925
|
const lastError = parseErrorAtCurrentToken(Diagnostics.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);
|
|
24994
24926
|
if (lastError) {
|
|
@@ -25046,7 +24978,7 @@ var Parser;
|
|
|
25046
24978
|
let child;
|
|
25047
24979
|
let parameters;
|
|
25048
24980
|
while (child = tryParse(() => parseChildParameterOrPropertyTag(4 /* CallbackParameter */, indent3))) {
|
|
25049
|
-
if (child.kind ===
|
|
24981
|
+
if (child.kind === 345 /* JSDocTemplateTag */) {
|
|
25050
24982
|
parseErrorAtRange(child.tagName, Diagnostics.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);
|
|
25051
24983
|
break;
|
|
25052
24984
|
}
|
|
@@ -25059,7 +24991,7 @@ var Parser;
|
|
|
25059
24991
|
const returnTag = tryParse(() => {
|
|
25060
24992
|
if (parseOptionalJsdoc(60 /* AtToken */)) {
|
|
25061
24993
|
const tag = parseTag(indent3);
|
|
25062
|
-
if (tag && tag.kind ===
|
|
24994
|
+
if (tag && tag.kind === 342 /* JSDocReturnTag */) {
|
|
25063
24995
|
return tag;
|
|
25064
24996
|
}
|
|
25065
24997
|
}
|
|
@@ -25114,7 +25046,7 @@ var Parser;
|
|
|
25114
25046
|
case 60 /* AtToken */:
|
|
25115
25047
|
if (canParseTag) {
|
|
25116
25048
|
const child = tryParseChildTag(target, indent3);
|
|
25117
|
-
if (child && (child.kind ===
|
|
25049
|
+
if (child && (child.kind === 341 /* JSDocParameterTag */ || child.kind === 348 /* JSDocPropertyTag */) && name && (isIdentifier(child.name) || !escapedTextsEqual(name, child.name.left))) {
|
|
25118
25050
|
return false;
|
|
25119
25051
|
}
|
|
25120
25052
|
return child;
|
|
@@ -26491,7 +26423,7 @@ var commandOptionsWithoutBuild = [
|
|
|
26491
26423
|
affectsEmit: true,
|
|
26492
26424
|
affectsSemanticDiagnostics: true,
|
|
26493
26425
|
affectsBuildInfo: true,
|
|
26494
|
-
category: Diagnostics.
|
|
26426
|
+
category: Diagnostics.Backwards_Compatibility,
|
|
26495
26427
|
description: Diagnostics.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types,
|
|
26496
26428
|
defaultValueDescription: 0 /* Remove */
|
|
26497
26429
|
},
|
|
@@ -26515,6 +26447,9 @@ var commandOptionsWithoutBuild = [
|
|
|
26515
26447
|
{
|
|
26516
26448
|
name: "verbatimModuleSyntax",
|
|
26517
26449
|
type: "boolean",
|
|
26450
|
+
affectsEmit: true,
|
|
26451
|
+
affectsSemanticDiagnostics: true,
|
|
26452
|
+
affectsBuildInfo: true,
|
|
26518
26453
|
category: Diagnostics.Interop_Constraints,
|
|
26519
26454
|
description: Diagnostics.Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_in_the_output_file_s_format_based_on_the_module_setting,
|
|
26520
26455
|
defaultValueDescription: false
|
|
@@ -27215,7 +27150,7 @@ var commandOptionsWithoutBuild = [
|
|
|
27215
27150
|
type: "boolean",
|
|
27216
27151
|
affectsEmit: true,
|
|
27217
27152
|
affectsBuildInfo: true,
|
|
27218
|
-
category: Diagnostics.
|
|
27153
|
+
category: Diagnostics.Backwards_Compatibility,
|
|
27219
27154
|
description: Diagnostics.Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed,
|
|
27220
27155
|
defaultValueDescription: false
|
|
27221
27156
|
},
|
|
@@ -30798,20 +30733,20 @@ var visitEachChildTable = {
|
|
|
30798
30733
|
);
|
|
30799
30734
|
},
|
|
30800
30735
|
// Top-level nodes
|
|
30801
|
-
[
|
|
30736
|
+
[307 /* SourceFile */]: function visitEachChildOfSourceFile(node, visitor, context, _nodesVisitor, _nodeVisitor, _tokenVisitor) {
|
|
30802
30737
|
return context.factory.updateSourceFile(
|
|
30803
30738
|
node,
|
|
30804
30739
|
visitLexicalEnvironment(node.statements, visitor, context)
|
|
30805
30740
|
);
|
|
30806
30741
|
},
|
|
30807
30742
|
// Transformation nodes
|
|
30808
|
-
[
|
|
30743
|
+
[353 /* PartiallyEmittedExpression */]: function visitEachChildOfPartiallyEmittedExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {
|
|
30809
30744
|
return context.factory.updatePartiallyEmittedExpression(
|
|
30810
30745
|
node,
|
|
30811
30746
|
Debug.checkDefined(nodeVisitor(node.expression, visitor, isExpression))
|
|
30812
30747
|
);
|
|
30813
30748
|
},
|
|
30814
|
-
[
|
|
30749
|
+
[354 /* CommaListExpression */]: function visitEachChildOfCommaListExpression(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {
|
|
30815
30750
|
return context.factory.updateCommaListExpression(
|
|
30816
30751
|
node,
|
|
30817
30752
|
nodesVisitor(node.elements, visitor, isExpression)
|
|
@@ -31392,7 +31327,7 @@ var BuilderState;
|
|
|
31392
31327
|
var _a, _b, _c;
|
|
31393
31328
|
const fileInfos = /* @__PURE__ */ new Map();
|
|
31394
31329
|
const options = newProgram.getCompilerOptions();
|
|
31395
|
-
const isOutFile = outFile
|
|
31330
|
+
const isOutFile = options.outFile;
|
|
31396
31331
|
const referencedMap = options.module !== 0 /* None */ && !isOutFile ? createManyToManyPathMap() : void 0;
|
|
31397
31332
|
const exportedModulesMap = referencedMap ? createManyToManyPathMap() : void 0;
|
|
31398
31333
|
const useOldState = canReuseOldState(referencedMap, oldState);
|
|
@@ -31548,7 +31483,7 @@ var BuilderState;
|
|
|
31548
31483
|
BuilderState2.getExportedModules = getExportedModules;
|
|
31549
31484
|
function getAllDependencies(state, programOfThisState, sourceFile) {
|
|
31550
31485
|
const compilerOptions = programOfThisState.getCompilerOptions();
|
|
31551
|
-
if (outFile
|
|
31486
|
+
if (compilerOptions.outFile) {
|
|
31552
31487
|
return getAllFileNames(state, programOfThisState);
|
|
31553
31488
|
}
|
|
31554
31489
|
if (!state.referencedMap || isFileAffectingGlobalScope(sourceFile)) {
|
|
@@ -31623,7 +31558,7 @@ var BuilderState;
|
|
|
31623
31558
|
BuilderState2.getAllFilesExcludingDefaultLibraryFile = getAllFilesExcludingDefaultLibraryFile;
|
|
31624
31559
|
function getFilesAffectedByUpdatedShapeWhenNonModuleEmit(state, programOfThisState, sourceFileWithUpdatedShape) {
|
|
31625
31560
|
const compilerOptions = programOfThisState.getCompilerOptions();
|
|
31626
|
-
if (compilerOptions && outFile
|
|
31561
|
+
if (compilerOptions && compilerOptions.outFile) {
|
|
31627
31562
|
return [sourceFileWithUpdatedShape];
|
|
31628
31563
|
}
|
|
31629
31564
|
return getAllFilesExcludingDefaultLibraryFile(state, programOfThisState, sourceFileWithUpdatedShape);
|
|
@@ -31633,7 +31568,7 @@ var BuilderState;
|
|
|
31633
31568
|
return getAllFilesExcludingDefaultLibraryFile(state, programOfThisState, sourceFileWithUpdatedShape);
|
|
31634
31569
|
}
|
|
31635
31570
|
const compilerOptions = programOfThisState.getCompilerOptions();
|
|
31636
|
-
if (compilerOptions && (getIsolatedModules(compilerOptions) || outFile
|
|
31571
|
+
if (compilerOptions && (getIsolatedModules(compilerOptions) || compilerOptions.outFile)) {
|
|
31637
31572
|
return [sourceFileWithUpdatedShape];
|
|
31638
31573
|
}
|
|
31639
31574
|
const seenFileNamesMap = /* @__PURE__ */ new Map();
|
|
@@ -32102,6 +32037,7 @@ var TypingsInstaller = class {
|
|
|
32102
32037
|
this.pendingRunRequests = [];
|
|
32103
32038
|
this.installRunCount = 1;
|
|
32104
32039
|
this.inFlightRequestCount = 0;
|
|
32040
|
+
// eslint-disable-line @typescript-eslint/unified-signatures
|
|
32105
32041
|
this.latestDistTag = "latest";
|
|
32106
32042
|
const isLoggingEnabled = this.log.isEnabled();
|
|
32107
32043
|
if (isLoggingEnabled) {
|