@typescript-deploys/pr-build 5.3.0-pr-55503-5 → 5.3.0-pr-55371-11

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 CHANGED
@@ -5955,6 +5955,7 @@ var Diagnostics = {
5955
5955
  Module_0_can_only_be_default_imported_using_the_1_flag: diag(1259, 1 /* Error */, "Module_0_can_only_be_default_imported_using_the_1_flag_1259", "Module '{0}' can only be default-imported using the '{1}' flag"),
5956
5956
  Keywords_cannot_contain_escape_characters: diag(1260, 1 /* Error */, "Keywords_cannot_contain_escape_characters_1260", "Keywords cannot contain escape characters."),
5957
5957
  Already_included_file_name_0_differs_from_file_name_1_only_in_casing: diag(1261, 1 /* Error */, "Already_included_file_name_0_differs_from_file_name_1_only_in_casing_1261", "Already included file name '{0}' differs from file name '{1}' only in casing."),
5958
+ Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module: diag(1262, 1 /* Error */, "Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262", "Identifier expected. '{0}' is a reserved word at the top-level of a module."),
5958
5959
  Declarations_with_initializers_cannot_also_have_definite_assignment_assertions: diag(1263, 1 /* Error */, "Declarations_with_initializers_cannot_also_have_definite_assignment_assertions_1263", "Declarations with initializers cannot also have definite assignment assertions."),
5959
5960
  Declarations_with_definite_assignment_assertions_must_also_have_type_annotations: diag(1264, 1 /* Error */, "Declarations_with_definite_assignment_assertions_must_also_have_type_annotations_1264", "Declarations with definite assignment assertions must also have type annotations."),
5960
5961
  A_rest_element_cannot_follow_another_rest_element: diag(1265, 1 /* Error */, "A_rest_element_cannot_follow_another_rest_element_1265", "A rest element cannot follow another rest element."),
@@ -40899,8 +40900,12 @@ function createBinder() {
40899
40900
  }
40900
40901
  if (inStrictMode && originalKeywordKind >= 119 /* FirstFutureReservedWord */ && originalKeywordKind <= 127 /* LastFutureReservedWord */) {
40901
40902
  file.bindDiagnostics.push(createDiagnosticForNode2(node, getStrictModeIdentifierMessage(node), declarationNameToString(node)));
40902
- } else if (originalKeywordKind === 135 /* AwaitKeyword */ && (node.flags & 65536 /* AwaitContext */ || isExternalModule(file))) {
40903
- file.bindDiagnostics.push(createDiagnosticForNode2(node, Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here, declarationNameToString(node)));
40903
+ } else if (originalKeywordKind === 135 /* AwaitKeyword */) {
40904
+ if (isExternalModule(file) && isInTopLevelContext(node)) {
40905
+ file.bindDiagnostics.push(createDiagnosticForNode2(node, Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module, declarationNameToString(node)));
40906
+ } else if (node.flags & 65536 /* AwaitContext */) {
40907
+ file.bindDiagnostics.push(createDiagnosticForNode2(node, Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here, declarationNameToString(node)));
40908
+ }
40904
40909
  } else if (originalKeywordKind === 127 /* YieldKeyword */ && node.flags & 16384 /* YieldContext */) {
40905
40910
  file.bindDiagnostics.push(createDiagnosticForNode2(node, Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here, declarationNameToString(node)));
40906
40911
  }
@@ -61220,6 +61225,9 @@ function createTypeChecker(host) {
61220
61225
  }
61221
61226
  instantiateType(source2, reportUnreliableMapper);
61222
61227
  }
61228
+ if (isTemplateLiteralTypeWithSinglePlaceholderAndNoExtraTexts(target2) && isTypeAssignableTo(source2, stringType) && isTypeAssignableTo(target2.types[0], stringType)) {
61229
+ return isRelatedTo(source2, target2.types[0], 3 /* Both */, reportErrors2);
61230
+ }
61223
61231
  if (isTypeMatchedByTemplateLiteralType(source2, target2)) {
61224
61232
  return -1 /* True */;
61225
61233
  }
@@ -61270,6 +61278,9 @@ function createTypeChecker(host) {
61270
61278
  }
61271
61279
  } else if (sourceFlags & 134217728 /* TemplateLiteral */ && !(targetFlags & 524288 /* Object */)) {
61272
61280
  if (!(targetFlags & 134217728 /* TemplateLiteral */)) {
61281
+ if (isTemplateLiteralTypeWithSinglePlaceholderAndNoExtraTexts(source2) && isTypeAssignableTo(source2.types[0], stringType) && isTypeAssignableTo(target2, stringType)) {
61282
+ return isRelatedTo(source2.types[0], target2, 3 /* Both */, reportErrors2);
61283
+ }
61273
61284
  const constraint = getBaseConstraintOfType(source2);
61274
61285
  if (constraint && constraint !== source2 && (result2 = isRelatedTo(constraint, target2, 1 /* Source */, reportErrors2))) {
61275
61286
  return result2;
@@ -63394,6 +63405,13 @@ function createTypeChecker(host) {
63394
63405
  }
63395
63406
  return false;
63396
63407
  }
63408
+ function isTemplateLiteralTypeWithSinglePlaceholderAndNoExtraTexts(type) {
63409
+ if (!(type.flags & 134217728 /* TemplateLiteral */)) {
63410
+ return false;
63411
+ }
63412
+ const texts = type.texts;
63413
+ return texts.length === 2 && texts[0] === "" && texts[1] === "";
63414
+ }
63397
63415
  function isValidTypeForTemplateLiteralPlaceholder(source, target) {
63398
63416
  if (source === target || target.flags & (1 /* Any */ | 4 /* String */)) {
63399
63417
  return true;
@@ -63413,9 +63431,8 @@ function createTypeChecker(host) {
63413
63431
  false
63414
63432
  ) || target.flags & (512 /* BooleanLiteral */ | 98304 /* Nullable */) && value === target.intrinsicName || target.flags & 268435456 /* StringMapping */ && isMemberOfStringMapping(getStringLiteralType(value), target) || target.flags & 134217728 /* TemplateLiteral */ && isTypeMatchedByTemplateLiteralType(source, target));
63415
63433
  }
63416
- if (source.flags & 134217728 /* TemplateLiteral */) {
63417
- const texts = source.texts;
63418
- return texts.length === 2 && texts[0] === "" && texts[1] === "" && isTypeAssignableTo(source.types[0], target);
63434
+ if (isTemplateLiteralTypeWithSinglePlaceholderAndNoExtraTexts(source)) {
63435
+ return isTypeAssignableTo(source.types[0], target);
63419
63436
  }
63420
63437
  return isTypeAssignableTo(source, target);
63421
63438
  }
@@ -115287,6 +115304,7 @@ var plainJSErrors = /* @__PURE__ */ new Set([
115287
115304
  Diagnostics.A_module_cannot_have_multiple_default_exports.code,
115288
115305
  Diagnostics.Another_export_default_is_here.code,
115289
115306
  Diagnostics.The_first_export_default_is_here.code,
115307
+ Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module.code,
115290
115308
  Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode.code,
115291
115309
  Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here.code,
115292
115310
  Diagnostics.constructor_is_a_reserved_word.code,
package/lib/tsserver.js CHANGED
@@ -9480,6 +9480,7 @@ var Diagnostics = {
9480
9480
  Module_0_can_only_be_default_imported_using_the_1_flag: diag(1259, 1 /* Error */, "Module_0_can_only_be_default_imported_using_the_1_flag_1259", "Module '{0}' can only be default-imported using the '{1}' flag"),
9481
9481
  Keywords_cannot_contain_escape_characters: diag(1260, 1 /* Error */, "Keywords_cannot_contain_escape_characters_1260", "Keywords cannot contain escape characters."),
9482
9482
  Already_included_file_name_0_differs_from_file_name_1_only_in_casing: diag(1261, 1 /* Error */, "Already_included_file_name_0_differs_from_file_name_1_only_in_casing_1261", "Already included file name '{0}' differs from file name '{1}' only in casing."),
9483
+ Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module: diag(1262, 1 /* Error */, "Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262", "Identifier expected. '{0}' is a reserved word at the top-level of a module."),
9483
9484
  Declarations_with_initializers_cannot_also_have_definite_assignment_assertions: diag(1263, 1 /* Error */, "Declarations_with_initializers_cannot_also_have_definite_assignment_assertions_1263", "Declarations with initializers cannot also have definite assignment assertions."),
9484
9485
  Declarations_with_definite_assignment_assertions_must_also_have_type_annotations: diag(1264, 1 /* Error */, "Declarations_with_definite_assignment_assertions_must_also_have_type_annotations_1264", "Declarations with definite assignment assertions must also have type annotations."),
9485
9486
  A_rest_element_cannot_follow_another_rest_element: diag(1265, 1 /* Error */, "A_rest_element_cannot_follow_another_rest_element_1265", "A rest element cannot follow another rest element."),
@@ -45562,8 +45563,12 @@ function createBinder() {
45562
45563
  }
45563
45564
  if (inStrictMode && originalKeywordKind >= 119 /* FirstFutureReservedWord */ && originalKeywordKind <= 127 /* LastFutureReservedWord */) {
45564
45565
  file.bindDiagnostics.push(createDiagnosticForNode2(node, getStrictModeIdentifierMessage(node), declarationNameToString(node)));
45565
- } else if (originalKeywordKind === 135 /* AwaitKeyword */ && (node.flags & 65536 /* AwaitContext */ || isExternalModule(file))) {
45566
- file.bindDiagnostics.push(createDiagnosticForNode2(node, Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here, declarationNameToString(node)));
45566
+ } else if (originalKeywordKind === 135 /* AwaitKeyword */) {
45567
+ if (isExternalModule(file) && isInTopLevelContext(node)) {
45568
+ file.bindDiagnostics.push(createDiagnosticForNode2(node, Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module, declarationNameToString(node)));
45569
+ } else if (node.flags & 65536 /* AwaitContext */) {
45570
+ file.bindDiagnostics.push(createDiagnosticForNode2(node, Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here, declarationNameToString(node)));
45571
+ }
45567
45572
  } else if (originalKeywordKind === 127 /* YieldKeyword */ && node.flags & 16384 /* YieldContext */) {
45568
45573
  file.bindDiagnostics.push(createDiagnosticForNode2(node, Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here, declarationNameToString(node)));
45569
45574
  }
@@ -65928,6 +65933,9 @@ function createTypeChecker(host) {
65928
65933
  }
65929
65934
  instantiateType(source2, reportUnreliableMapper);
65930
65935
  }
65936
+ if (isTemplateLiteralTypeWithSinglePlaceholderAndNoExtraTexts(target2) && isTypeAssignableTo(source2, stringType) && isTypeAssignableTo(target2.types[0], stringType)) {
65937
+ return isRelatedTo(source2, target2.types[0], 3 /* Both */, reportErrors2);
65938
+ }
65931
65939
  if (isTypeMatchedByTemplateLiteralType(source2, target2)) {
65932
65940
  return -1 /* True */;
65933
65941
  }
@@ -65978,6 +65986,9 @@ function createTypeChecker(host) {
65978
65986
  }
65979
65987
  } else if (sourceFlags & 134217728 /* TemplateLiteral */ && !(targetFlags & 524288 /* Object */)) {
65980
65988
  if (!(targetFlags & 134217728 /* TemplateLiteral */)) {
65989
+ if (isTemplateLiteralTypeWithSinglePlaceholderAndNoExtraTexts(source2) && isTypeAssignableTo(source2.types[0], stringType) && isTypeAssignableTo(target2, stringType)) {
65990
+ return isRelatedTo(source2.types[0], target2, 3 /* Both */, reportErrors2);
65991
+ }
65981
65992
  const constraint = getBaseConstraintOfType(source2);
65982
65993
  if (constraint && constraint !== source2 && (result2 = isRelatedTo(constraint, target2, 1 /* Source */, reportErrors2))) {
65983
65994
  return result2;
@@ -68102,6 +68113,13 @@ function createTypeChecker(host) {
68102
68113
  }
68103
68114
  return false;
68104
68115
  }
68116
+ function isTemplateLiteralTypeWithSinglePlaceholderAndNoExtraTexts(type) {
68117
+ if (!(type.flags & 134217728 /* TemplateLiteral */)) {
68118
+ return false;
68119
+ }
68120
+ const texts = type.texts;
68121
+ return texts.length === 2 && texts[0] === "" && texts[1] === "";
68122
+ }
68105
68123
  function isValidTypeForTemplateLiteralPlaceholder(source, target) {
68106
68124
  if (source === target || target.flags & (1 /* Any */ | 4 /* String */)) {
68107
68125
  return true;
@@ -68121,9 +68139,8 @@ function createTypeChecker(host) {
68121
68139
  false
68122
68140
  ) || target.flags & (512 /* BooleanLiteral */ | 98304 /* Nullable */) && value === target.intrinsicName || target.flags & 268435456 /* StringMapping */ && isMemberOfStringMapping(getStringLiteralType(value), target) || target.flags & 134217728 /* TemplateLiteral */ && isTypeMatchedByTemplateLiteralType(source, target));
68123
68141
  }
68124
- if (source.flags & 134217728 /* TemplateLiteral */) {
68125
- const texts = source.texts;
68126
- return texts.length === 2 && texts[0] === "" && texts[1] === "" && isTypeAssignableTo(source.types[0], target);
68142
+ if (isTemplateLiteralTypeWithSinglePlaceholderAndNoExtraTexts(source)) {
68143
+ return isTypeAssignableTo(source.types[0], target);
68127
68144
  }
68128
68145
  return isTypeAssignableTo(source, target);
68129
68146
  }
@@ -120231,6 +120248,7 @@ var plainJSErrors = /* @__PURE__ */ new Set([
120231
120248
  Diagnostics.A_module_cannot_have_multiple_default_exports.code,
120232
120249
  Diagnostics.Another_export_default_is_here.code,
120233
120250
  Diagnostics.The_first_export_default_is_here.code,
120251
+ Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module.code,
120234
120252
  Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode.code,
120235
120253
  Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here.code,
120236
120254
  Diagnostics.constructor_is_a_reserved_word.code,
package/lib/typescript.js CHANGED
@@ -7257,6 +7257,7 @@ ${lanes.join("\n")}
7257
7257
  Module_0_can_only_be_default_imported_using_the_1_flag: diag(1259, 1 /* Error */, "Module_0_can_only_be_default_imported_using_the_1_flag_1259", "Module '{0}' can only be default-imported using the '{1}' flag"),
7258
7258
  Keywords_cannot_contain_escape_characters: diag(1260, 1 /* Error */, "Keywords_cannot_contain_escape_characters_1260", "Keywords cannot contain escape characters."),
7259
7259
  Already_included_file_name_0_differs_from_file_name_1_only_in_casing: diag(1261, 1 /* Error */, "Already_included_file_name_0_differs_from_file_name_1_only_in_casing_1261", "Already included file name '{0}' differs from file name '{1}' only in casing."),
7260
+ Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module: diag(1262, 1 /* Error */, "Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262", "Identifier expected. '{0}' is a reserved word at the top-level of a module."),
7260
7261
  Declarations_with_initializers_cannot_also_have_definite_assignment_assertions: diag(1263, 1 /* Error */, "Declarations_with_initializers_cannot_also_have_definite_assignment_assertions_1263", "Declarations with initializers cannot also have definite assignment assertions."),
7261
7262
  Declarations_with_definite_assignment_assertions_must_also_have_type_annotations: diag(1264, 1 /* Error */, "Declarations_with_definite_assignment_assertions_must_also_have_type_annotations_1264", "Declarations with definite assignment assertions must also have type annotations."),
7262
7263
  A_rest_element_cannot_follow_another_rest_element: diag(1265, 1 /* Error */, "A_rest_element_cannot_follow_another_rest_element_1265", "A rest element cannot follow another rest element."),
@@ -43404,8 +43405,12 @@ ${lanes.join("\n")}
43404
43405
  }
43405
43406
  if (inStrictMode && originalKeywordKind >= 119 /* FirstFutureReservedWord */ && originalKeywordKind <= 127 /* LastFutureReservedWord */) {
43406
43407
  file.bindDiagnostics.push(createDiagnosticForNode2(node, getStrictModeIdentifierMessage(node), declarationNameToString(node)));
43407
- } else if (originalKeywordKind === 135 /* AwaitKeyword */ && (node.flags & 65536 /* AwaitContext */ || isExternalModule(file))) {
43408
- file.bindDiagnostics.push(createDiagnosticForNode2(node, Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here, declarationNameToString(node)));
43408
+ } else if (originalKeywordKind === 135 /* AwaitKeyword */) {
43409
+ if (isExternalModule(file) && isInTopLevelContext(node)) {
43410
+ file.bindDiagnostics.push(createDiagnosticForNode2(node, Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module, declarationNameToString(node)));
43411
+ } else if (node.flags & 65536 /* AwaitContext */) {
43412
+ file.bindDiagnostics.push(createDiagnosticForNode2(node, Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here, declarationNameToString(node)));
43413
+ }
43409
43414
  } else if (originalKeywordKind === 127 /* YieldKeyword */ && node.flags & 16384 /* YieldContext */) {
43410
43415
  file.bindDiagnostics.push(createDiagnosticForNode2(node, Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here, declarationNameToString(node)));
43411
43416
  }
@@ -63689,6 +63694,9 @@ ${lanes.join("\n")}
63689
63694
  }
63690
63695
  instantiateType(source2, reportUnreliableMapper);
63691
63696
  }
63697
+ if (isTemplateLiteralTypeWithSinglePlaceholderAndNoExtraTexts(target2) && isTypeAssignableTo(source2, stringType) && isTypeAssignableTo(target2.types[0], stringType)) {
63698
+ return isRelatedTo(source2, target2.types[0], 3 /* Both */, reportErrors2);
63699
+ }
63692
63700
  if (isTypeMatchedByTemplateLiteralType(source2, target2)) {
63693
63701
  return -1 /* True */;
63694
63702
  }
@@ -63739,6 +63747,9 @@ ${lanes.join("\n")}
63739
63747
  }
63740
63748
  } else if (sourceFlags & 134217728 /* TemplateLiteral */ && !(targetFlags & 524288 /* Object */)) {
63741
63749
  if (!(targetFlags & 134217728 /* TemplateLiteral */)) {
63750
+ if (isTemplateLiteralTypeWithSinglePlaceholderAndNoExtraTexts(source2) && isTypeAssignableTo(source2.types[0], stringType) && isTypeAssignableTo(target2, stringType)) {
63751
+ return isRelatedTo(source2.types[0], target2, 3 /* Both */, reportErrors2);
63752
+ }
63742
63753
  const constraint = getBaseConstraintOfType(source2);
63743
63754
  if (constraint && constraint !== source2 && (result2 = isRelatedTo(constraint, target2, 1 /* Source */, reportErrors2))) {
63744
63755
  return result2;
@@ -65863,6 +65874,13 @@ ${lanes.join("\n")}
65863
65874
  }
65864
65875
  return false;
65865
65876
  }
65877
+ function isTemplateLiteralTypeWithSinglePlaceholderAndNoExtraTexts(type) {
65878
+ if (!(type.flags & 134217728 /* TemplateLiteral */)) {
65879
+ return false;
65880
+ }
65881
+ const texts = type.texts;
65882
+ return texts.length === 2 && texts[0] === "" && texts[1] === "";
65883
+ }
65866
65884
  function isValidTypeForTemplateLiteralPlaceholder(source, target) {
65867
65885
  if (source === target || target.flags & (1 /* Any */ | 4 /* String */)) {
65868
65886
  return true;
@@ -65882,9 +65900,8 @@ ${lanes.join("\n")}
65882
65900
  false
65883
65901
  ) || target.flags & (512 /* BooleanLiteral */ | 98304 /* Nullable */) && value === target.intrinsicName || target.flags & 268435456 /* StringMapping */ && isMemberOfStringMapping(getStringLiteralType(value), target) || target.flags & 134217728 /* TemplateLiteral */ && isTypeMatchedByTemplateLiteralType(source, target));
65884
65902
  }
65885
- if (source.flags & 134217728 /* TemplateLiteral */) {
65886
- const texts = source.texts;
65887
- return texts.length === 2 && texts[0] === "" && texts[1] === "" && isTypeAssignableTo(source.types[0], target);
65903
+ if (isTemplateLiteralTypeWithSinglePlaceholderAndNoExtraTexts(source)) {
65904
+ return isTypeAssignableTo(source.types[0], target);
65888
65905
  }
65889
65906
  return isTypeAssignableTo(source, target);
65890
65907
  }
@@ -121607,6 +121624,7 @@ ${lanes.join("\n")}
121607
121624
  Diagnostics.A_module_cannot_have_multiple_default_exports.code,
121608
121625
  Diagnostics.Another_export_default_is_here.code,
121609
121626
  Diagnostics.The_first_export_default_is_here.code,
121627
+ Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module.code,
121610
121628
  Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode.code,
121611
121629
  Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here.code,
121612
121630
  Diagnostics.constructor_is_a_reserved_word.code,
@@ -5329,6 +5329,7 @@ var Diagnostics = {
5329
5329
  Module_0_can_only_be_default_imported_using_the_1_flag: diag(1259, 1 /* Error */, "Module_0_can_only_be_default_imported_using_the_1_flag_1259", "Module '{0}' can only be default-imported using the '{1}' flag"),
5330
5330
  Keywords_cannot_contain_escape_characters: diag(1260, 1 /* Error */, "Keywords_cannot_contain_escape_characters_1260", "Keywords cannot contain escape characters."),
5331
5331
  Already_included_file_name_0_differs_from_file_name_1_only_in_casing: diag(1261, 1 /* Error */, "Already_included_file_name_0_differs_from_file_name_1_only_in_casing_1261", "Already included file name '{0}' differs from file name '{1}' only in casing."),
5332
+ Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module: diag(1262, 1 /* Error */, "Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262", "Identifier expected. '{0}' is a reserved word at the top-level of a module."),
5332
5333
  Declarations_with_initializers_cannot_also_have_definite_assignment_assertions: diag(1263, 1 /* Error */, "Declarations_with_initializers_cannot_also_have_definite_assignment_assertions_1263", "Declarations with initializers cannot also have definite assignment assertions."),
5333
5334
  Declarations_with_definite_assignment_assertions_must_also_have_type_annotations: diag(1264, 1 /* Error */, "Declarations_with_definite_assignment_assertions_must_also_have_type_annotations_1264", "Declarations with definite assignment assertions must also have type annotations."),
5334
5335
  A_rest_element_cannot_follow_another_rest_element: diag(1265, 1 /* Error */, "A_rest_element_cannot_follow_another_rest_element_1265", "A rest element cannot follow another rest element."),
@@ -30794,6 +30795,7 @@ var plainJSErrors = /* @__PURE__ */ new Set([
30794
30795
  Diagnostics.A_module_cannot_have_multiple_default_exports.code,
30795
30796
  Diagnostics.Another_export_default_is_here.code,
30796
30797
  Diagnostics.The_first_export_default_is_here.code,
30798
+ Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module.code,
30797
30799
  Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode.code,
30798
30800
  Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here.code,
30799
30801
  Diagnostics.constructor_is_a_reserved_word.code,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@typescript-deploys/pr-build",
3
3
  "author": "Microsoft Corp.",
4
4
  "homepage": "https://www.typescriptlang.org/",
5
- "version": "5.3.0-pr-55503-5",
5
+ "version": "5.3.0-pr-55371-11",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [
@@ -113,5 +113,5 @@
113
113
  "node": "20.1.0",
114
114
  "npm": "8.19.4"
115
115
  },
116
- "gitHead": "d94784a967f0f0182da1a9c21967303956d8a92c"
116
+ "gitHead": "a9de88c08e82e6143ae36b4260ed04a83636078a"
117
117
  }