typescript 5.3.0-dev.20231018 → 5.3.0-dev.20231020

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.3";
21
- var version = `${versionMajorMinor}.0-dev.20231018`;
21
+ var version = `${versionMajorMinor}.0-dev.20231020`;
22
22
 
23
23
  // src/compiler/core.ts
24
24
  var emptyArray = [];
@@ -6653,6 +6653,7 @@ var Diagnostics = {
6653
6653
  Excessive_complexity_comparing_types_0_and_1: diag(2859, 1 /* Error */, "Excessive_complexity_comparing_types_0_and_1_2859", "Excessive complexity comparing types '{0}' and '{1}'."),
6654
6654
  The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_hand_side_s_Symbol_hasInstance_method: diag(2860, 1 /* Error */, "The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_2860", "The left-hand side of an 'instanceof' expression must be assignable to the first argument of the right-hand side's '[Symbol.hasInstance]' method."),
6655
6655
  An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_hand_side_of_an_instanceof_expression: diag(2861, 1 /* Error */, "An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_han_2861", "An object's '[Symbol.hasInstance]' method must return a boolean value for it to be used on the right-hand side of an 'instanceof' expression."),
6656
+ Type_0_is_generic_and_can_only_be_indexed_for_reading: diag(2862, 1 /* Error */, "Type_0_is_generic_and_can_only_be_indexed_for_reading_2862", "Type '{0}' is generic and can only be indexed for reading."),
6656
6657
  Import_declaration_0_is_using_private_name_1: diag(4e3, 1 /* Error */, "Import_declaration_0_is_using_private_name_1_4000", "Import declaration '{0}' is using private name '{1}'."),
6657
6658
  Type_parameter_0_of_exported_class_has_or_is_using_private_name_1: diag(4002, 1 /* Error */, "Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002", "Type parameter '{0}' of exported class has or is using private name '{1}'."),
6658
6659
  Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1: diag(4004, 1 /* Error */, "Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004", "Type parameter '{0}' of exported interface has or is using private name '{1}'."),
@@ -23693,17 +23694,18 @@ var asyncGeneratorHelper = {
23693
23694
  scoped: false,
23694
23695
  dependencies: [awaitHelper],
23695
23696
  text: `
23696
- var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {
23697
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
23698
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
23699
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
23700
- function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
23701
- function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
23702
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
23703
- function fulfill(value) { resume("next", value); }
23704
- function reject(value) { resume("throw", value); }
23705
- function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
23706
- };`
23697
+ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {
23698
+ if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
23699
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
23700
+ return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
23701
+ function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }
23702
+ function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }
23703
+ function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
23704
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
23705
+ function fulfill(value) { resume("next", value); }
23706
+ function reject(value) { resume("throw", value); }
23707
+ function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
23708
+ };`
23707
23709
  };
23708
23710
  var asyncDelegator = {
23709
23711
  name: "typescript:asyncDelegator",
@@ -57653,7 +57655,11 @@ function createTypeChecker(host) {
57653
57655
  if (indexInfo) {
57654
57656
  if (accessFlags & 2 /* NoIndexSignatures */ && indexInfo.keyType !== numberType) {
57655
57657
  if (accessExpression) {
57656
- error(accessExpression, Diagnostics.Type_0_cannot_be_used_to_index_type_1, typeToString(indexType), typeToString(originalObjectType));
57658
+ if (accessFlags & 4 /* Writing */) {
57659
+ error(accessExpression, Diagnostics.Type_0_is_generic_and_can_only_be_indexed_for_reading, typeToString(originalObjectType));
57660
+ } else {
57661
+ error(accessExpression, Diagnostics.Type_0_cannot_be_used_to_index_type_1, typeToString(indexType), typeToString(originalObjectType));
57662
+ }
57657
57663
  }
57658
57664
  return void 0;
57659
57665
  }
@@ -65930,13 +65936,15 @@ function createTypeChecker(host) {
65930
65936
  return void 0;
65931
65937
  }
65932
65938
  function getDiscriminantPropertyAccess(expr, computedType) {
65933
- const type = !(computedType.flags & 1048576 /* Union */) && declaredType.flags & 1048576 /* Union */ ? declaredType : computedType;
65934
- if (type.flags & 1048576 /* Union */) {
65939
+ if (declaredType.flags & 1048576 /* Union */ || computedType.flags & 1048576 /* Union */) {
65935
65940
  const access = getCandidateDiscriminantPropertyAccess(expr);
65936
65941
  if (access) {
65937
65942
  const name = getAccessedPropertyName(access);
65938
- if (name && isDiscriminantProperty(type, name)) {
65939
- return access;
65943
+ if (name) {
65944
+ const type = declaredType.flags & 1048576 /* Union */ && isTypeSubsetOf(computedType, declaredType) ? declaredType : computedType;
65945
+ if (isDiscriminantProperty(type, name)) {
65946
+ return access;
65947
+ }
65940
65948
  }
65941
65949
  }
65942
65950
  }
package/lib/tsserver.js CHANGED
@@ -2328,7 +2328,7 @@ module.exports = __toCommonJS(server_exports);
2328
2328
 
2329
2329
  // src/compiler/corePublic.ts
2330
2330
  var versionMajorMinor = "5.3";
2331
- var version = `${versionMajorMinor}.0-dev.20231018`;
2331
+ var version = `${versionMajorMinor}.0-dev.20231020`;
2332
2332
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
2333
2333
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
2334
2334
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -10181,6 +10181,7 @@ var Diagnostics = {
10181
10181
  Excessive_complexity_comparing_types_0_and_1: diag(2859, 1 /* Error */, "Excessive_complexity_comparing_types_0_and_1_2859", "Excessive complexity comparing types '{0}' and '{1}'."),
10182
10182
  The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_hand_side_s_Symbol_hasInstance_method: diag(2860, 1 /* Error */, "The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_2860", "The left-hand side of an 'instanceof' expression must be assignable to the first argument of the right-hand side's '[Symbol.hasInstance]' method."),
10183
10183
  An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_hand_side_of_an_instanceof_expression: diag(2861, 1 /* Error */, "An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_han_2861", "An object's '[Symbol.hasInstance]' method must return a boolean value for it to be used on the right-hand side of an 'instanceof' expression."),
10184
+ Type_0_is_generic_and_can_only_be_indexed_for_reading: diag(2862, 1 /* Error */, "Type_0_is_generic_and_can_only_be_indexed_for_reading_2862", "Type '{0}' is generic and can only be indexed for reading."),
10184
10185
  Import_declaration_0_is_using_private_name_1: diag(4e3, 1 /* Error */, "Import_declaration_0_is_using_private_name_1_4000", "Import declaration '{0}' is using private name '{1}'."),
10185
10186
  Type_parameter_0_of_exported_class_has_or_is_using_private_name_1: diag(4002, 1 /* Error */, "Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002", "Type parameter '{0}' of exported class has or is using private name '{1}'."),
10186
10187
  Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1: diag(4004, 1 /* Error */, "Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004", "Type parameter '{0}' of exported interface has or is using private name '{1}'."),
@@ -27957,17 +27958,18 @@ var asyncGeneratorHelper = {
27957
27958
  scoped: false,
27958
27959
  dependencies: [awaitHelper],
27959
27960
  text: `
27960
- var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {
27961
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
27962
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
27963
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
27964
- function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
27965
- function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
27966
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
27967
- function fulfill(value) { resume("next", value); }
27968
- function reject(value) { resume("throw", value); }
27969
- function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
27970
- };`
27961
+ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {
27962
+ if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
27963
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
27964
+ return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
27965
+ function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }
27966
+ function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }
27967
+ function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
27968
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
27969
+ function fulfill(value) { resume("next", value); }
27970
+ function reject(value) { resume("throw", value); }
27971
+ function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
27972
+ };`
27971
27973
  };
27972
27974
  var asyncDelegator = {
27973
27975
  name: "typescript:asyncDelegator",
@@ -62365,7 +62367,11 @@ function createTypeChecker(host) {
62365
62367
  if (indexInfo) {
62366
62368
  if (accessFlags & 2 /* NoIndexSignatures */ && indexInfo.keyType !== numberType) {
62367
62369
  if (accessExpression) {
62368
- error2(accessExpression, Diagnostics.Type_0_cannot_be_used_to_index_type_1, typeToString(indexType), typeToString(originalObjectType));
62370
+ if (accessFlags & 4 /* Writing */) {
62371
+ error2(accessExpression, Diagnostics.Type_0_is_generic_and_can_only_be_indexed_for_reading, typeToString(originalObjectType));
62372
+ } else {
62373
+ error2(accessExpression, Diagnostics.Type_0_cannot_be_used_to_index_type_1, typeToString(indexType), typeToString(originalObjectType));
62374
+ }
62369
62375
  }
62370
62376
  return void 0;
62371
62377
  }
@@ -70642,13 +70648,15 @@ function createTypeChecker(host) {
70642
70648
  return void 0;
70643
70649
  }
70644
70650
  function getDiscriminantPropertyAccess(expr, computedType) {
70645
- const type = !(computedType.flags & 1048576 /* Union */) && declaredType.flags & 1048576 /* Union */ ? declaredType : computedType;
70646
- if (type.flags & 1048576 /* Union */) {
70651
+ if (declaredType.flags & 1048576 /* Union */ || computedType.flags & 1048576 /* Union */) {
70647
70652
  const access = getCandidateDiscriminantPropertyAccess(expr);
70648
70653
  if (access) {
70649
70654
  const name = getAccessedPropertyName(access);
70650
- if (name && isDiscriminantProperty(type, name)) {
70651
- return access;
70655
+ if (name) {
70656
+ const type = declaredType.flags & 1048576 /* Union */ && isTypeSubsetOf(computedType, declaredType) ? declaredType : computedType;
70657
+ if (isDiscriminantProperty(type, name)) {
70658
+ return access;
70659
+ }
70652
70660
  }
70653
70661
  }
70654
70662
  }
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.3";
38
- version = `${versionMajorMinor}.0-dev.20231018`;
38
+ version = `${versionMajorMinor}.0-dev.20231020`;
39
39
  Comparison = /* @__PURE__ */ ((Comparison3) => {
40
40
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
41
41
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -7963,6 +7963,7 @@ ${lanes.join("\n")}
7963
7963
  Excessive_complexity_comparing_types_0_and_1: diag(2859, 1 /* Error */, "Excessive_complexity_comparing_types_0_and_1_2859", "Excessive complexity comparing types '{0}' and '{1}'."),
7964
7964
  The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_hand_side_s_Symbol_hasInstance_method: diag(2860, 1 /* Error */, "The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_2860", "The left-hand side of an 'instanceof' expression must be assignable to the first argument of the right-hand side's '[Symbol.hasInstance]' method."),
7965
7965
  An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_hand_side_of_an_instanceof_expression: diag(2861, 1 /* Error */, "An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_han_2861", "An object's '[Symbol.hasInstance]' method must return a boolean value for it to be used on the right-hand side of an 'instanceof' expression."),
7966
+ Type_0_is_generic_and_can_only_be_indexed_for_reading: diag(2862, 1 /* Error */, "Type_0_is_generic_and_can_only_be_indexed_for_reading_2862", "Type '{0}' is generic and can only be indexed for reading."),
7966
7967
  Import_declaration_0_is_using_private_name_1: diag(4e3, 1 /* Error */, "Import_declaration_0_is_using_private_name_1_4000", "Import declaration '{0}' is using private name '{1}'."),
7967
7968
  Type_parameter_0_of_exported_class_has_or_is_using_private_name_1: diag(4002, 1 /* Error */, "Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002", "Type parameter '{0}' of exported class has or is using private name '{1}'."),
7968
7969
  Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1: diag(4004, 1 /* Error */, "Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004", "Type parameter '{0}' of exported interface has or is using private name '{1}'."),
@@ -25834,17 +25835,18 @@ ${lanes.join("\n")}
25834
25835
  scoped: false,
25835
25836
  dependencies: [awaitHelper],
25836
25837
  text: `
25837
- var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {
25838
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
25839
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
25840
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
25841
- function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
25842
- function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
25843
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
25844
- function fulfill(value) { resume("next", value); }
25845
- function reject(value) { resume("throw", value); }
25846
- function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
25847
- };`
25838
+ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {
25839
+ if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
25840
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
25841
+ return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
25842
+ function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }
25843
+ function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }
25844
+ function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
25845
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
25846
+ function fulfill(value) { resume("next", value); }
25847
+ function reject(value) { resume("throw", value); }
25848
+ function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
25849
+ };`
25848
25850
  };
25849
25851
  asyncDelegator = {
25850
25852
  name: "typescript:asyncDelegator",
@@ -60132,7 +60134,11 @@ ${lanes.join("\n")}
60132
60134
  if (indexInfo) {
60133
60135
  if (accessFlags & 2 /* NoIndexSignatures */ && indexInfo.keyType !== numberType) {
60134
60136
  if (accessExpression) {
60135
- error2(accessExpression, Diagnostics.Type_0_cannot_be_used_to_index_type_1, typeToString(indexType), typeToString(originalObjectType));
60137
+ if (accessFlags & 4 /* Writing */) {
60138
+ error2(accessExpression, Diagnostics.Type_0_is_generic_and_can_only_be_indexed_for_reading, typeToString(originalObjectType));
60139
+ } else {
60140
+ error2(accessExpression, Diagnostics.Type_0_cannot_be_used_to_index_type_1, typeToString(indexType), typeToString(originalObjectType));
60141
+ }
60136
60142
  }
60137
60143
  return void 0;
60138
60144
  }
@@ -68409,13 +68415,15 @@ ${lanes.join("\n")}
68409
68415
  return void 0;
68410
68416
  }
68411
68417
  function getDiscriminantPropertyAccess(expr, computedType) {
68412
- const type = !(computedType.flags & 1048576 /* Union */) && declaredType.flags & 1048576 /* Union */ ? declaredType : computedType;
68413
- if (type.flags & 1048576 /* Union */) {
68418
+ if (declaredType.flags & 1048576 /* Union */ || computedType.flags & 1048576 /* Union */) {
68414
68419
  const access = getCandidateDiscriminantPropertyAccess(expr);
68415
68420
  if (access) {
68416
68421
  const name = getAccessedPropertyName(access);
68417
- if (name && isDiscriminantProperty(type, name)) {
68418
- return access;
68422
+ if (name) {
68423
+ const type = declaredType.flags & 1048576 /* Union */ && isTypeSubsetOf(computedType, declaredType) ? declaredType : computedType;
68424
+ if (isDiscriminantProperty(type, name)) {
68425
+ return access;
68426
+ }
68419
68427
  }
68420
68428
  }
68421
68429
  }
@@ -54,7 +54,7 @@ var path = __toESM(require("path"));
54
54
 
55
55
  // src/compiler/corePublic.ts
56
56
  var versionMajorMinor = "5.3";
57
- var version = `${versionMajorMinor}.0-dev.20231018`;
57
+ var version = `${versionMajorMinor}.0-dev.20231020`;
58
58
 
59
59
  // src/compiler/core.ts
60
60
  var emptyArray = [];
@@ -6030,6 +6030,7 @@ var Diagnostics = {
6030
6030
  Excessive_complexity_comparing_types_0_and_1: diag(2859, 1 /* Error */, "Excessive_complexity_comparing_types_0_and_1_2859", "Excessive complexity comparing types '{0}' and '{1}'."),
6031
6031
  The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_hand_side_s_Symbol_hasInstance_method: diag(2860, 1 /* Error */, "The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_2860", "The left-hand side of an 'instanceof' expression must be assignable to the first argument of the right-hand side's '[Symbol.hasInstance]' method."),
6032
6032
  An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_hand_side_of_an_instanceof_expression: diag(2861, 1 /* Error */, "An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_han_2861", "An object's '[Symbol.hasInstance]' method must return a boolean value for it to be used on the right-hand side of an 'instanceof' expression."),
6033
+ Type_0_is_generic_and_can_only_be_indexed_for_reading: diag(2862, 1 /* Error */, "Type_0_is_generic_and_can_only_be_indexed_for_reading_2862", "Type '{0}' is generic and can only be indexed for reading."),
6033
6034
  Import_declaration_0_is_using_private_name_1: diag(4e3, 1 /* Error */, "Import_declaration_0_is_using_private_name_1_4000", "Import declaration '{0}' is using private name '{1}'."),
6034
6035
  Type_parameter_0_of_exported_class_has_or_is_using_private_name_1: diag(4002, 1 /* Error */, "Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002", "Type parameter '{0}' of exported class has or is using private name '{1}'."),
6035
6036
  Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1: diag(4004, 1 /* Error */, "Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004", "Type parameter '{0}' of exported interface has or is using private name '{1}'."),
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.3.0-dev.20231018",
5
+ "version": "5.3.0-dev.20231020",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [
@@ -114,5 +114,5 @@
114
114
  "node": "20.1.0",
115
115
  "npm": "8.19.4"
116
116
  },
117
- "gitHead": "413179867f6262dfca87f285e8bf6991ef393289"
117
+ "gitHead": "6424e181d4d7460913e730249a078b176fc8aaf0"
118
118
  }