typescript 5.4.0-dev.20231219 → 5.4.0-dev.20231221

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
@@ -18,7 +18,7 @@ and limitations under the License.
18
18
 
19
19
  // src/compiler/corePublic.ts
20
20
  var versionMajorMinor = "5.4";
21
- var version = `${versionMajorMinor}.0-dev.20231219`;
21
+ var version = `${versionMajorMinor}.0-dev.20231221`;
22
22
 
23
23
  // src/compiler/core.ts
24
24
  var emptyArray = [];
@@ -3483,6 +3483,7 @@ var ModifierFlags = /* @__PURE__ */ ((ModifierFlags3) => {
3483
3483
  return ModifierFlags3;
3484
3484
  })(ModifierFlags || {});
3485
3485
  var RelationComparisonResult = /* @__PURE__ */ ((RelationComparisonResult3) => {
3486
+ RelationComparisonResult3[RelationComparisonResult3["None"] = 0] = "None";
3486
3487
  RelationComparisonResult3[RelationComparisonResult3["Succeeded"] = 1] = "Succeeded";
3487
3488
  RelationComparisonResult3[RelationComparisonResult3["Failed"] = 2] = "Failed";
3488
3489
  RelationComparisonResult3[RelationComparisonResult3["Reported"] = 4] = "Reported";
@@ -6783,6 +6784,8 @@ var Diagnostics = {
6783
6784
  This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0: diag(4122, 1 /* Error */, "This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4122", "This member cannot have a JSDoc comment with an '@override' tag because it is not declared in the base class '{0}'."),
6784
6785
  This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1: diag(4123, 1 /* Error */, "This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4123", "This member cannot have a JSDoc comment with an 'override' tag because it is not declared in the base class '{0}'. Did you mean '{1}'?"),
6785
6786
  Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next: diag(4124, 1 /* Error */, "Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124", "Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),
6787
+ Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given: diag(4125, 1 /* Error */, "Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given_4125", "Each declaration of '{0}.{1}' differs in its value, where '{2}' was expected but '{3}' was given."),
6788
+ One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value: diag(4126, 1 /* Error */, "One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value_4126", "One value of '{0}.{1}' is the string '{2}', and the other is assumed to be an unknown numeric value."),
6786
6789
  The_current_host_does_not_support_the_0_option: diag(5001, 1 /* Error */, "The_current_host_does_not_support_the_0_option_5001", "The current host does not support the '{0}' option."),
6787
6790
  Cannot_find_the_common_subdirectory_path_for_the_input_files: diag(5009, 1 /* Error */, "Cannot_find_the_common_subdirectory_path_for_the_input_files_5009", "Cannot find the common subdirectory path for the input files."),
6788
6791
  File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0: diag(5010, 1 /* Error */, "File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010", "File specification cannot end in a recursive directory wildcard ('**'): '{0}'."),
@@ -60488,12 +60491,12 @@ function createTypeChecker(host) {
60488
60491
  return !!(entry & 1 /* Succeeded */);
60489
60492
  }
60490
60493
  const targetEnumType = getTypeOfSymbol(targetSymbol);
60491
- for (const property of getPropertiesOfType(getTypeOfSymbol(sourceSymbol))) {
60492
- if (property.flags & 8 /* EnumMember */) {
60493
- const targetProperty = getPropertyOfType(targetEnumType, property.escapedName);
60494
+ for (const sourceProperty of getPropertiesOfType(getTypeOfSymbol(sourceSymbol))) {
60495
+ if (sourceProperty.flags & 8 /* EnumMember */) {
60496
+ const targetProperty = getPropertyOfType(targetEnumType, sourceProperty.escapedName);
60494
60497
  if (!targetProperty || !(targetProperty.flags & 8 /* EnumMember */)) {
60495
60498
  if (errorReporter) {
60496
- errorReporter(Diagnostics.Property_0_is_missing_in_type_1, symbolName(property), typeToString(
60499
+ errorReporter(Diagnostics.Property_0_is_missing_in_type_1, symbolName(sourceProperty), typeToString(
60497
60500
  getDeclaredTypeOfSymbol(targetSymbol),
60498
60501
  /*enclosingDeclaration*/
60499
60502
  void 0,
@@ -60505,6 +60508,35 @@ function createTypeChecker(host) {
60505
60508
  }
60506
60509
  return false;
60507
60510
  }
60511
+ const sourceValue = getEnumMemberValue(getDeclarationOfKind(sourceProperty, 306 /* EnumMember */));
60512
+ const targetValue = getEnumMemberValue(getDeclarationOfKind(targetProperty, 306 /* EnumMember */));
60513
+ if (sourceValue !== targetValue) {
60514
+ const sourceIsString = typeof sourceValue === "string";
60515
+ const targetIsString = typeof targetValue === "string";
60516
+ if (sourceValue !== void 0 && targetValue !== void 0) {
60517
+ if (!errorReporter) {
60518
+ enumRelation.set(id, 2 /* Failed */);
60519
+ } else {
60520
+ const escapedSource = sourceIsString ? `"${escapeString(sourceValue)}"` : sourceValue;
60521
+ const escapedTarget = targetIsString ? `"${escapeString(targetValue)}"` : targetValue;
60522
+ errorReporter(Diagnostics.Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given, symbolName(targetSymbol), symbolName(targetProperty), escapedTarget, escapedSource);
60523
+ enumRelation.set(id, 2 /* Failed */ | 4 /* Reported */);
60524
+ }
60525
+ return false;
60526
+ }
60527
+ if (sourceIsString || targetIsString) {
60528
+ if (!errorReporter) {
60529
+ enumRelation.set(id, 2 /* Failed */);
60530
+ } else {
60531
+ const knownStringValue = sourceValue ?? targetValue;
60532
+ Debug.assert(typeof knownStringValue === "string");
60533
+ const escapedValue = `"${escapeString(knownStringValue)}"`;
60534
+ errorReporter(Diagnostics.One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value, symbolName(targetSymbol), symbolName(targetProperty), escapedValue);
60535
+ enumRelation.set(id, 2 /* Failed */ | 4 /* Reported */);
60536
+ }
60537
+ return false;
60538
+ }
60539
+ }
60508
60540
  }
60509
60541
  }
60510
60542
  enumRelation.set(id, 1 /* Succeeded */);
package/lib/tsserver.js CHANGED
@@ -2335,7 +2335,7 @@ module.exports = __toCommonJS(server_exports);
2335
2335
 
2336
2336
  // src/compiler/corePublic.ts
2337
2337
  var versionMajorMinor = "5.4";
2338
- var version = `${versionMajorMinor}.0-dev.20231219`;
2338
+ var version = `${versionMajorMinor}.0-dev.20231221`;
2339
2339
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
2340
2340
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
2341
2341
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -6239,6 +6239,7 @@ var JsxFlags = /* @__PURE__ */ ((JsxFlags2) => {
6239
6239
  return JsxFlags2;
6240
6240
  })(JsxFlags || {});
6241
6241
  var RelationComparisonResult = /* @__PURE__ */ ((RelationComparisonResult3) => {
6242
+ RelationComparisonResult3[RelationComparisonResult3["None"] = 0] = "None";
6242
6243
  RelationComparisonResult3[RelationComparisonResult3["Succeeded"] = 1] = "Succeeded";
6243
6244
  RelationComparisonResult3[RelationComparisonResult3["Failed"] = 2] = "Failed";
6244
6245
  RelationComparisonResult3[RelationComparisonResult3["Reported"] = 4] = "Reported";
@@ -10338,6 +10339,8 @@ var Diagnostics = {
10338
10339
  This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0: diag(4122, 1 /* Error */, "This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4122", "This member cannot have a JSDoc comment with an '@override' tag because it is not declared in the base class '{0}'."),
10339
10340
  This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1: diag(4123, 1 /* Error */, "This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4123", "This member cannot have a JSDoc comment with an 'override' tag because it is not declared in the base class '{0}'. Did you mean '{1}'?"),
10340
10341
  Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next: diag(4124, 1 /* Error */, "Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124", "Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),
10342
+ Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given: diag(4125, 1 /* Error */, "Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given_4125", "Each declaration of '{0}.{1}' differs in its value, where '{2}' was expected but '{3}' was given."),
10343
+ One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value: diag(4126, 1 /* Error */, "One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value_4126", "One value of '{0}.{1}' is the string '{2}', and the other is assumed to be an unknown numeric value."),
10341
10344
  The_current_host_does_not_support_the_0_option: diag(5001, 1 /* Error */, "The_current_host_does_not_support_the_0_option_5001", "The current host does not support the '{0}' option."),
10342
10345
  Cannot_find_the_common_subdirectory_path_for_the_input_files: diag(5009, 1 /* Error */, "Cannot_find_the_common_subdirectory_path_for_the_input_files_5009", "Cannot find the common subdirectory path for the input files."),
10343
10346
  File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0: diag(5010, 1 /* Error */, "File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010", "File specification cannot end in a recursive directory wildcard ('**'): '{0}'."),
@@ -65203,12 +65206,12 @@ function createTypeChecker(host) {
65203
65206
  return !!(entry & 1 /* Succeeded */);
65204
65207
  }
65205
65208
  const targetEnumType = getTypeOfSymbol(targetSymbol);
65206
- for (const property of getPropertiesOfType(getTypeOfSymbol(sourceSymbol))) {
65207
- if (property.flags & 8 /* EnumMember */) {
65208
- const targetProperty = getPropertyOfType(targetEnumType, property.escapedName);
65209
+ for (const sourceProperty of getPropertiesOfType(getTypeOfSymbol(sourceSymbol))) {
65210
+ if (sourceProperty.flags & 8 /* EnumMember */) {
65211
+ const targetProperty = getPropertyOfType(targetEnumType, sourceProperty.escapedName);
65209
65212
  if (!targetProperty || !(targetProperty.flags & 8 /* EnumMember */)) {
65210
65213
  if (errorReporter) {
65211
- errorReporter(Diagnostics.Property_0_is_missing_in_type_1, symbolName(property), typeToString(
65214
+ errorReporter(Diagnostics.Property_0_is_missing_in_type_1, symbolName(sourceProperty), typeToString(
65212
65215
  getDeclaredTypeOfSymbol(targetSymbol),
65213
65216
  /*enclosingDeclaration*/
65214
65217
  void 0,
@@ -65220,6 +65223,35 @@ function createTypeChecker(host) {
65220
65223
  }
65221
65224
  return false;
65222
65225
  }
65226
+ const sourceValue = getEnumMemberValue(getDeclarationOfKind(sourceProperty, 306 /* EnumMember */));
65227
+ const targetValue = getEnumMemberValue(getDeclarationOfKind(targetProperty, 306 /* EnumMember */));
65228
+ if (sourceValue !== targetValue) {
65229
+ const sourceIsString = typeof sourceValue === "string";
65230
+ const targetIsString = typeof targetValue === "string";
65231
+ if (sourceValue !== void 0 && targetValue !== void 0) {
65232
+ if (!errorReporter) {
65233
+ enumRelation.set(id, 2 /* Failed */);
65234
+ } else {
65235
+ const escapedSource = sourceIsString ? `"${escapeString(sourceValue)}"` : sourceValue;
65236
+ const escapedTarget = targetIsString ? `"${escapeString(targetValue)}"` : targetValue;
65237
+ errorReporter(Diagnostics.Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given, symbolName(targetSymbol), symbolName(targetProperty), escapedTarget, escapedSource);
65238
+ enumRelation.set(id, 2 /* Failed */ | 4 /* Reported */);
65239
+ }
65240
+ return false;
65241
+ }
65242
+ if (sourceIsString || targetIsString) {
65243
+ if (!errorReporter) {
65244
+ enumRelation.set(id, 2 /* Failed */);
65245
+ } else {
65246
+ const knownStringValue = sourceValue ?? targetValue;
65247
+ Debug.assert(typeof knownStringValue === "string");
65248
+ const escapedValue = `"${escapeString(knownStringValue)}"`;
65249
+ errorReporter(Diagnostics.One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value, symbolName(targetSymbol), symbolName(targetProperty), escapedValue);
65250
+ enumRelation.set(id, 2 /* Failed */ | 4 /* Reported */);
65251
+ }
65252
+ return false;
65253
+ }
65254
+ }
65223
65255
  }
65224
65256
  }
65225
65257
  enumRelation.set(id, 1 /* Succeeded */);
package/lib/typescript.js CHANGED
@@ -35,7 +35,7 @@ var ts = (() => {
35
35
  "src/compiler/corePublic.ts"() {
36
36
  "use strict";
37
37
  versionMajorMinor = "5.4";
38
- version = `${versionMajorMinor}.0-dev.20231219`;
38
+ version = `${versionMajorMinor}.0-dev.20231221`;
39
39
  Comparison = /* @__PURE__ */ ((Comparison3) => {
40
40
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
41
41
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -3997,6 +3997,7 @@ ${lanes.join("\n")}
3997
3997
  return JsxFlags2;
3998
3998
  })(JsxFlags || {});
3999
3999
  RelationComparisonResult = /* @__PURE__ */ ((RelationComparisonResult3) => {
4000
+ RelationComparisonResult3[RelationComparisonResult3["None"] = 0] = "None";
4000
4001
  RelationComparisonResult3[RelationComparisonResult3["Succeeded"] = 1] = "Succeeded";
4001
4002
  RelationComparisonResult3[RelationComparisonResult3["Failed"] = 2] = "Failed";
4002
4003
  RelationComparisonResult3[RelationComparisonResult3["Reported"] = 4] = "Reported";
@@ -8113,6 +8114,8 @@ ${lanes.join("\n")}
8113
8114
  This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0: diag(4122, 1 /* Error */, "This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4122", "This member cannot have a JSDoc comment with an '@override' tag because it is not declared in the base class '{0}'."),
8114
8115
  This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1: diag(4123, 1 /* Error */, "This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4123", "This member cannot have a JSDoc comment with an 'override' tag because it is not declared in the base class '{0}'. Did you mean '{1}'?"),
8115
8116
  Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next: diag(4124, 1 /* Error */, "Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124", "Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),
8117
+ Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given: diag(4125, 1 /* Error */, "Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given_4125", "Each declaration of '{0}.{1}' differs in its value, where '{2}' was expected but '{3}' was given."),
8118
+ One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value: diag(4126, 1 /* Error */, "One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value_4126", "One value of '{0}.{1}' is the string '{2}', and the other is assumed to be an unknown numeric value."),
8116
8119
  The_current_host_does_not_support_the_0_option: diag(5001, 1 /* Error */, "The_current_host_does_not_support_the_0_option_5001", "The current host does not support the '{0}' option."),
8117
8120
  Cannot_find_the_common_subdirectory_path_for_the_input_files: diag(5009, 1 /* Error */, "Cannot_find_the_common_subdirectory_path_for_the_input_files_5009", "Cannot find the common subdirectory path for the input files."),
8118
8121
  File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0: diag(5010, 1 /* Error */, "File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010", "File specification cannot end in a recursive directory wildcard ('**'): '{0}'."),
@@ -62963,12 +62966,12 @@ ${lanes.join("\n")}
62963
62966
  return !!(entry & 1 /* Succeeded */);
62964
62967
  }
62965
62968
  const targetEnumType = getTypeOfSymbol(targetSymbol);
62966
- for (const property of getPropertiesOfType(getTypeOfSymbol(sourceSymbol))) {
62967
- if (property.flags & 8 /* EnumMember */) {
62968
- const targetProperty = getPropertyOfType(targetEnumType, property.escapedName);
62969
+ for (const sourceProperty of getPropertiesOfType(getTypeOfSymbol(sourceSymbol))) {
62970
+ if (sourceProperty.flags & 8 /* EnumMember */) {
62971
+ const targetProperty = getPropertyOfType(targetEnumType, sourceProperty.escapedName);
62969
62972
  if (!targetProperty || !(targetProperty.flags & 8 /* EnumMember */)) {
62970
62973
  if (errorReporter) {
62971
- errorReporter(Diagnostics.Property_0_is_missing_in_type_1, symbolName(property), typeToString(
62974
+ errorReporter(Diagnostics.Property_0_is_missing_in_type_1, symbolName(sourceProperty), typeToString(
62972
62975
  getDeclaredTypeOfSymbol(targetSymbol),
62973
62976
  /*enclosingDeclaration*/
62974
62977
  void 0,
@@ -62980,6 +62983,35 @@ ${lanes.join("\n")}
62980
62983
  }
62981
62984
  return false;
62982
62985
  }
62986
+ const sourceValue = getEnumMemberValue(getDeclarationOfKind(sourceProperty, 306 /* EnumMember */));
62987
+ const targetValue = getEnumMemberValue(getDeclarationOfKind(targetProperty, 306 /* EnumMember */));
62988
+ if (sourceValue !== targetValue) {
62989
+ const sourceIsString = typeof sourceValue === "string";
62990
+ const targetIsString = typeof targetValue === "string";
62991
+ if (sourceValue !== void 0 && targetValue !== void 0) {
62992
+ if (!errorReporter) {
62993
+ enumRelation.set(id, 2 /* Failed */);
62994
+ } else {
62995
+ const escapedSource = sourceIsString ? `"${escapeString(sourceValue)}"` : sourceValue;
62996
+ const escapedTarget = targetIsString ? `"${escapeString(targetValue)}"` : targetValue;
62997
+ errorReporter(Diagnostics.Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given, symbolName(targetSymbol), symbolName(targetProperty), escapedTarget, escapedSource);
62998
+ enumRelation.set(id, 2 /* Failed */ | 4 /* Reported */);
62999
+ }
63000
+ return false;
63001
+ }
63002
+ if (sourceIsString || targetIsString) {
63003
+ if (!errorReporter) {
63004
+ enumRelation.set(id, 2 /* Failed */);
63005
+ } else {
63006
+ const knownStringValue = sourceValue ?? targetValue;
63007
+ Debug.assert(typeof knownStringValue === "string");
63008
+ const escapedValue = `"${escapeString(knownStringValue)}"`;
63009
+ errorReporter(Diagnostics.One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value, symbolName(targetSymbol), symbolName(targetProperty), escapedValue);
63010
+ enumRelation.set(id, 2 /* Failed */ | 4 /* Reported */);
63011
+ }
63012
+ return false;
63013
+ }
63014
+ }
62983
63015
  }
62984
63016
  }
62985
63017
  enumRelation.set(id, 1 /* Succeeded */);
@@ -54,7 +54,7 @@ var path = __toESM(require("path"));
54
54
 
55
55
  // src/compiler/corePublic.ts
56
56
  var versionMajorMinor = "5.4";
57
- var version = `${versionMajorMinor}.0-dev.20231219`;
57
+ var version = `${versionMajorMinor}.0-dev.20231221`;
58
58
 
59
59
  // src/compiler/core.ts
60
60
  var emptyArray = [];
@@ -2944,6 +2944,7 @@ var ModifierFlags = /* @__PURE__ */ ((ModifierFlags3) => {
2944
2944
  return ModifierFlags3;
2945
2945
  })(ModifierFlags || {});
2946
2946
  var RelationComparisonResult = /* @__PURE__ */ ((RelationComparisonResult3) => {
2947
+ RelationComparisonResult3[RelationComparisonResult3["None"] = 0] = "None";
2947
2948
  RelationComparisonResult3[RelationComparisonResult3["Succeeded"] = 1] = "Succeeded";
2948
2949
  RelationComparisonResult3[RelationComparisonResult3["Failed"] = 2] = "Failed";
2949
2950
  RelationComparisonResult3[RelationComparisonResult3["Reported"] = 4] = "Reported";
@@ -6160,6 +6161,8 @@ var Diagnostics = {
6160
6161
  This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0: diag(4122, 1 /* Error */, "This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4122", "This member cannot have a JSDoc comment with an '@override' tag because it is not declared in the base class '{0}'."),
6161
6162
  This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1: diag(4123, 1 /* Error */, "This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4123", "This member cannot have a JSDoc comment with an 'override' tag because it is not declared in the base class '{0}'. Did you mean '{1}'?"),
6162
6163
  Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next: diag(4124, 1 /* Error */, "Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124", "Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),
6164
+ Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given: diag(4125, 1 /* Error */, "Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given_4125", "Each declaration of '{0}.{1}' differs in its value, where '{2}' was expected but '{3}' was given."),
6165
+ One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value: diag(4126, 1 /* Error */, "One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value_4126", "One value of '{0}.{1}' is the string '{2}', and the other is assumed to be an unknown numeric value."),
6163
6166
  The_current_host_does_not_support_the_0_option: diag(5001, 1 /* Error */, "The_current_host_does_not_support_the_0_option_5001", "The current host does not support the '{0}' option."),
6164
6167
  Cannot_find_the_common_subdirectory_path_for_the_input_files: diag(5009, 1 /* Error */, "Cannot_find_the_common_subdirectory_path_for_the_input_files_5009", "Cannot find the common subdirectory path for the input files."),
6165
6168
  File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0: diag(5010, 1 /* Error */, "File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010", "File specification cannot end in a recursive directory wildcard ('**'): '{0}'."),
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "typescript",
3
3
  "author": "Microsoft Corp.",
4
4
  "homepage": "https://www.typescriptlang.org/",
5
- "version": "5.4.0-dev.20231219",
5
+ "version": "5.4.0-dev.20231221",
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": "63babdf7dacebcca2673a9e2b8d5dd2d7dcc6017"
116
+ "gitHead": "93e6b9da0c4cb164ca90a5a1b07415e81e97f2b1"
117
117
  }