@typescript-deploys/pr-build 5.2.0-pr-53356-21 → 5.2.0-pr-48838-5

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/typescript.js CHANGED
@@ -35,7 +35,7 @@ var ts = (() => {
35
35
  "src/compiler/corePublic.ts"() {
36
36
  "use strict";
37
37
  versionMajorMinor = "5.2";
38
- version = `${versionMajorMinor}.0-insiders.20230615`;
38
+ version = `${versionMajorMinor}.0-insiders.20230617`;
39
39
  Comparison = /* @__PURE__ */ ((Comparison3) => {
40
40
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
41
41
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -2942,7 +2942,7 @@ ${lanes.join("\n")}
2942
2942
  buildRegExp = /^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i;
2943
2943
  buildPartRegExp = /^[a-z0-9-]+$/i;
2944
2944
  numericIdentifierRegExp = /^(0|[1-9]\d*)$/;
2945
- _Version = class {
2945
+ _Version = class _Version {
2946
2946
  constructor(major, minor = 0, patch = 0, prerelease = "", build2 = "") {
2947
2947
  if (typeof major === "string") {
2948
2948
  const result = Debug.checkDefined(tryParseComponents(major), "Invalid version");
@@ -3006,16 +3006,16 @@ ${lanes.join("\n")}
3006
3006
  return result;
3007
3007
  }
3008
3008
  };
3009
+ _Version.zero = new _Version(0, 0, 0, ["0"]);
3009
3010
  Version = _Version;
3010
- Version.zero = new _Version(0, 0, 0, ["0"]);
3011
- VersionRange = class {
3011
+ VersionRange = class _VersionRange {
3012
3012
  constructor(spec) {
3013
3013
  this._alternatives = spec ? Debug.checkDefined(parseRange(spec), "Invalid range spec.") : emptyArray;
3014
3014
  }
3015
3015
  static tryParse(text) {
3016
3016
  const sets = parseRange(text);
3017
3017
  if (sets) {
3018
- const range = new VersionRange("");
3018
+ const range = new _VersionRange("");
3019
3019
  range._alternatives = sets;
3020
3020
  return range;
3021
3021
  }
@@ -8111,6 +8111,7 @@ ${lanes.join("\n")}
8111
8111
  Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0: diag(5081, 1 /* Error */, "Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0_5081", "Cannot find a tsconfig.json file at the current directory: {0}."),
8112
8112
  _0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1: diag(5082, 1 /* Error */, "_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1_5082", "'{0}' could be instantiated with an arbitrary type which could be unrelated to '{1}'."),
8113
8113
  Cannot_read_file_0: diag(5083, 1 /* Error */, "Cannot_read_file_0_5083", "Cannot read file '{0}'."),
8114
+ Tuple_members_must_all_have_names_or_all_not_have_names: diag(5084, 1 /* Error */, "Tuple_members_must_all_have_names_or_all_not_have_names_5084", "Tuple members must all have names or all not have names."),
8114
8115
  A_tuple_member_cannot_be_both_optional_and_rest: diag(5085, 1 /* Error */, "A_tuple_member_cannot_be_both_optional_and_rest_5085", "A tuple member cannot be both optional and rest."),
8115
8116
  A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type: diag(5086, 1 /* Error */, "A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_c_5086", "A labeled tuple element is declared as optional with a question mark after the name and before the colon, rather than after the type."),
8116
8117
  A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type: diag(5087, 1 /* Error */, "A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type_5087", "A labeled tuple element is declared as rest with a '...' before the name, rather than before the type."),
@@ -50136,18 +50137,19 @@ ${lanes.join("\n")}
50136
50137
  const arity = getTypeReferenceArity(type2);
50137
50138
  const tupleConstituentNodes = mapToTypeNodes(typeArguments.slice(0, arity), context);
50138
50139
  if (tupleConstituentNodes) {
50139
- const { labeledElementDeclarations } = type2.target;
50140
- for (let i = 0; i < tupleConstituentNodes.length; i++) {
50141
- const flags = type2.target.elementFlags[i];
50142
- const labeledElementDeclaration = labeledElementDeclarations == null ? void 0 : labeledElementDeclarations[i];
50143
- if (labeledElementDeclaration) {
50140
+ if (type2.target.labeledElementDeclarations) {
50141
+ for (let i = 0; i < tupleConstituentNodes.length; i++) {
50142
+ const flags = type2.target.elementFlags[i];
50144
50143
  tupleConstituentNodes[i] = factory.createNamedTupleMember(
50145
50144
  flags & 12 /* Variable */ ? factory.createToken(26 /* DotDotDotToken */) : void 0,
50146
- factory.createIdentifier(unescapeLeadingUnderscores(getTupleElementLabel(labeledElementDeclaration))),
50145
+ factory.createIdentifier(unescapeLeadingUnderscores(getTupleElementLabel(type2.target.labeledElementDeclarations[i]))),
50147
50146
  flags & 2 /* Optional */ ? factory.createToken(58 /* QuestionToken */) : void 0,
50148
50147
  flags & 4 /* Rest */ ? factory.createArrayTypeNode(tupleConstituentNodes[i]) : tupleConstituentNodes[i]
50149
50148
  );
50150
- } else {
50149
+ }
50150
+ } else {
50151
+ for (let i = 0; i < Math.min(arity, tupleConstituentNodes.length); i++) {
50152
+ const flags = type2.target.elementFlags[i];
50151
50153
  tupleConstituentNodes[i] = flags & 12 /* Variable */ ? factory.createRestTypeNode(flags & 4 /* Rest */ ? factory.createArrayTypeNode(tupleConstituentNodes[i]) : tupleConstituentNodes[i]) : flags & 2 /* Optional */ ? factory.createOptionalTypeNode(tupleConstituentNodes[i]) : tupleConstituentNodes[i];
50152
50154
  }
50153
50155
  }
@@ -55254,18 +55256,17 @@ ${lanes.join("\n")}
55254
55256
  function getExpandedParameters(sig, skipUnionExpanding) {
55255
55257
  if (signatureHasRestParameter(sig)) {
55256
55258
  const restIndex = sig.parameters.length - 1;
55257
- const restName = sig.parameters[restIndex].escapedName;
55258
55259
  const restType = getTypeOfSymbol(sig.parameters[restIndex]);
55259
55260
  if (isTupleType(restType)) {
55260
- return [expandSignatureParametersWithTupleMembers(restType, restIndex, restName)];
55261
+ return [expandSignatureParametersWithTupleMembers(restType, restIndex)];
55261
55262
  } else if (!skipUnionExpanding && restType.flags & 1048576 /* Union */ && every(restType.types, isTupleType)) {
55262
- return map(restType.types, (t) => expandSignatureParametersWithTupleMembers(t, restIndex, restName));
55263
+ return map(restType.types, (t) => expandSignatureParametersWithTupleMembers(t, restIndex));
55263
55264
  }
55264
55265
  }
55265
55266
  return [sig.parameters];
55266
- function expandSignatureParametersWithTupleMembers(restType, restIndex, restName) {
55267
- const elementTypes = getTypeArguments(restType);
55268
- const associatedNames = getUniqAssociatedNamesFromTupleType(restType, restName);
55267
+ function expandSignatureParametersWithTupleMembers(restType, restIndex) {
55268
+ const elementTypes = getElementTypes(restType);
55269
+ const associatedNames = getUniqAssociatedNamesFromTupleType(restType);
55269
55270
  const restParams = map(elementTypes, (t, i) => {
55270
55271
  const name = associatedNames && associatedNames[i] ? associatedNames[i] : getParameterNameAtPosition(sig, restIndex + i, restType);
55271
55272
  const flags = restType.target.elementFlags[i];
@@ -55276,10 +55277,10 @@ ${lanes.join("\n")}
55276
55277
  });
55277
55278
  return concatenate(sig.parameters.slice(0, restIndex), restParams);
55278
55279
  }
55279
- function getUniqAssociatedNamesFromTupleType(type, restName) {
55280
+ function getUniqAssociatedNamesFromTupleType(type) {
55280
55281
  const associatedNamesMap = /* @__PURE__ */ new Map();
55281
- return map(type.target.labeledElementDeclarations, (labeledElement, i) => {
55282
- const name = getTupleElementLabel(labeledElement, i, restName);
55282
+ return map(type.target.labeledElementDeclarations, (labeledElement) => {
55283
+ const name = getTupleElementLabel(labeledElement);
55283
55284
  const prevCounter = associatedNamesMap.get(name);
55284
55285
  if (prevCounter === void 0) {
55285
55286
  associatedNamesMap.set(name, 1);
@@ -56078,9 +56079,9 @@ ${lanes.join("\n")}
56078
56079
  function getConstraintOfTypeParameter(typeParameter) {
56079
56080
  return hasNonCircularBaseConstraint(typeParameter) ? getConstraintFromTypeParameter(typeParameter) : void 0;
56080
56081
  }
56081
- function isConstTypeVariable(type) {
56082
+ function isConstTypeVariable(type, depth = 0) {
56082
56083
  var _a;
56083
- return !!(type && (type.flags & 262144 /* TypeParameter */ && some((_a = type.symbol) == null ? void 0 : _a.declarations, (d) => hasSyntacticModifier(d, 2048 /* Const */)) || type.flags & 1048576 /* Union */ && some(type.types, isConstTypeVariable) || type.flags & 8388608 /* IndexedAccess */ && isConstTypeVariable(type.objectType) || type.flags & 16777216 /* Conditional */ && isConstTypeVariable(getConstraintOfConditionalType(type)) || type.flags & 33554432 /* Substitution */ && isConstTypeVariable(type.baseType) || isGenericTupleType(type) && findIndex(getElementTypes(type), (t, i) => !!(type.target.elementFlags[i] & 8 /* Variadic */) && isConstTypeVariable(t)) >= 0));
56084
+ return depth < 5 && !!(type && (type.flags & 262144 /* TypeParameter */ && some((_a = type.symbol) == null ? void 0 : _a.declarations, (d) => hasSyntacticModifier(d, 2048 /* Const */)) || type.flags & 1048576 /* Union */ && some(type.types, (t) => isConstTypeVariable(t, depth)) || type.flags & 8388608 /* IndexedAccess */ && isConstTypeVariable(type.objectType, depth + 1) || type.flags & 16777216 /* Conditional */ && isConstTypeVariable(getConstraintOfConditionalType(type), depth + 1) || type.flags & 33554432 /* Substitution */ && isConstTypeVariable(type.baseType, depth) || isGenericTupleType(type) && findIndex(getElementTypes(type), (t, i) => !!(type.target.elementFlags[i] & 8 /* Variadic */) && isConstTypeVariable(t, depth)) >= 0));
56084
56085
  }
56085
56086
  function getConstraintOfIndexedAccess(type) {
56086
56087
  return hasNonCircularBaseConstraint(type) ? getConstraintFromIndexedAccess(type) : void 0;
@@ -58197,10 +58198,13 @@ ${lanes.join("\n")}
58197
58198
  return readonly ? globalReadonlyArrayType : globalArrayType;
58198
58199
  }
58199
58200
  const elementFlags = map(node.elements, getTupleElementFlags);
58200
- return getTupleTargetType(elementFlags, readonly, map(node.elements, memberIfLabeledElementDeclaration));
58201
- }
58202
- function memberIfLabeledElementDeclaration(member) {
58203
- return isNamedTupleMember(member) || isParameter(member) ? member : void 0;
58201
+ const missingName = some(node.elements, (e) => e.kind !== 201 /* NamedTupleMember */);
58202
+ return getTupleTargetType(
58203
+ elementFlags,
58204
+ readonly,
58205
+ /*associatedNames*/
58206
+ missingName ? void 0 : node.elements
58207
+ );
58204
58208
  }
58205
58209
  function isDeferredTypeReferenceNode(node, hasDefaultTypeArguments) {
58206
58210
  return !!getAliasSymbolForTypeNode(node) || isResolvedByTypeAlias(node) && (node.kind === 187 /* ArrayType */ ? mayResolveTypeAlias(node.elementType) : node.kind === 188 /* TupleType */ ? some(node.elements, mayResolveTypeAlias) : hasDefaultTypeArguments || some(node.typeArguments, mayResolveTypeAlias));
@@ -58275,7 +58279,7 @@ ${lanes.join("\n")}
58275
58279
  function isReadonlyTypeOperator(node) {
58276
58280
  return isTypeOperatorNode(node) && node.operator === 148 /* ReadonlyKeyword */;
58277
58281
  }
58278
- function createTupleType(elementTypes, elementFlags, readonly = false, namedMemberDeclarations = []) {
58282
+ function createTupleType(elementTypes, elementFlags, readonly = false, namedMemberDeclarations) {
58279
58283
  const tupleTarget = getTupleTargetType(elementFlags || map(elementTypes, (_) => 1 /* Required */), readonly, namedMemberDeclarations);
58280
58284
  return tupleTarget === emptyGenericType ? emptyObjectType : elementTypes.length ? createNormalizedTypeReference(tupleTarget, elementTypes) : tupleTarget;
58281
58285
  }
@@ -58283,8 +58287,7 @@ ${lanes.join("\n")}
58283
58287
  if (elementFlags.length === 1 && elementFlags[0] & 4 /* Rest */) {
58284
58288
  return readonly ? globalReadonlyArrayType : globalArrayType;
58285
58289
  }
58286
- const memberIds = mapDefined(namedMemberDeclarations, (node) => node ? getNodeId(node) : void 0);
58287
- const key = map(elementFlags, (f) => f & 1 /* Required */ ? "#" : f & 2 /* Optional */ ? "?" : f & 4 /* Rest */ ? "." : "*").join() + (readonly ? "R" : "") + (memberIds.length ? "," + memberIds.join(",") : "");
58290
+ const key = map(elementFlags, (f) => f & 1 /* Required */ ? "#" : f & 2 /* Optional */ ? "?" : f & 4 /* Rest */ ? "." : "*").join() + (readonly ? "R" : "") + (namedMemberDeclarations && namedMemberDeclarations.length ? "," + map(namedMemberDeclarations, getNodeId).join(",") : "");
58288
58291
  let type = tupleTypes.get(key);
58289
58292
  if (!type) {
58290
58293
  tupleTypes.set(key, type = createTupleTargetType(elementFlags, readonly, namedMemberDeclarations));
@@ -58366,7 +58369,7 @@ ${lanes.join("\n")}
58366
58369
  }
58367
58370
  const expandedTypes = [];
58368
58371
  const expandedFlags = [];
58369
- const expandedDeclarations = [];
58372
+ let expandedDeclarations = [];
58370
58373
  let lastRequiredIndex = -1;
58371
58374
  let firstRestIndex = -1;
58372
58375
  let lastOptionalOrRestIndex = -1;
@@ -58404,7 +58407,7 @@ ${lanes.join("\n")}
58404
58407
  ));
58405
58408
  expandedTypes.splice(firstRestIndex + 1, lastOptionalOrRestIndex - firstRestIndex);
58406
58409
  expandedFlags.splice(firstRestIndex + 1, lastOptionalOrRestIndex - firstRestIndex);
58407
- expandedDeclarations.splice(firstRestIndex + 1, lastOptionalOrRestIndex - firstRestIndex);
58410
+ expandedDeclarations == null ? void 0 : expandedDeclarations.splice(firstRestIndex + 1, lastOptionalOrRestIndex - firstRestIndex);
58408
58411
  }
58409
58412
  const tupleTarget = getTupleTargetType(expandedFlags, target.readonly, expandedDeclarations);
58410
58413
  return tupleTarget === emptyGenericType ? emptyObjectType : expandedFlags.length ? createTypeReference(tupleTarget, expandedTypes) : tupleTarget;
@@ -58424,7 +58427,11 @@ ${lanes.join("\n")}
58424
58427
  true
58425
58428
  ) : type);
58426
58429
  expandedFlags.push(flags);
58427
- expandedDeclarations.push(declaration);
58430
+ if (expandedDeclarations && declaration) {
58431
+ expandedDeclarations.push(declaration);
58432
+ } else {
58433
+ expandedDeclarations = void 0;
58434
+ }
58428
58435
  }
58429
58436
  }
58430
58437
  function sliceTupleType(type, index, endSkipCount = 0) {
@@ -69625,7 +69632,7 @@ ${lanes.join("\n")}
69625
69632
  function instantiateContextualType(contextualType, node, contextFlags) {
69626
69633
  if (contextualType && maybeTypeOfKind(contextualType, 465829888 /* Instantiable */)) {
69627
69634
  const inferenceContext = getInferenceContext(node);
69628
- if (inferenceContext && contextFlags & 1 /* Signature */ && some(inferenceContext.inferences, hasInferenceCandidatesOrDefault)) {
69635
+ if (inferenceContext && (contextFlags & 1 /* Signature */ || maybeTypeOfKind(contextualType, 25165824 /* Simplifiable */)) && some(inferenceContext.inferences, hasInferenceCandidatesOrDefault)) {
69629
69636
  return instantiateInstantiableTypes(contextualType, inferenceContext.nonFixingMapper);
69630
69637
  }
69631
69638
  if (inferenceContext == null ? void 0 : inferenceContext.returnMapper) {
@@ -74156,10 +74163,7 @@ ${lanes.join("\n")}
74156
74163
  }
74157
74164
  return type;
74158
74165
  }
74159
- function getTupleElementLabel(d, index, restParameterName = "arg") {
74160
- if (!d) {
74161
- return `${restParameterName}_${index}`;
74162
- }
74166
+ function getTupleElementLabel(d) {
74163
74167
  Debug.assert(isIdentifier(d.name));
74164
74168
  return d.name.escapedText;
74165
74169
  }
@@ -74173,7 +74177,7 @@ ${lanes.join("\n")}
74173
74177
  if (isTupleType(restType)) {
74174
74178
  const associatedNames = restType.target.labeledElementDeclarations;
74175
74179
  const index = pos - paramCount;
74176
- return getTupleElementLabel(associatedNames == null ? void 0 : associatedNames[index], index, restParameter.escapedName);
74180
+ return associatedNames && getTupleElementLabel(associatedNames[index]) || restParameter.escapedName + "_" + index;
74177
74181
  }
74178
74182
  return restParameter.escapedName;
74179
74183
  }
@@ -77528,7 +77532,12 @@ ${lanes.join("\n")}
77528
77532
  const elementTypes = node.elements;
77529
77533
  let seenOptionalElement = false;
77530
77534
  let seenRestElement = false;
77535
+ const hasNamedElement = some(elementTypes, isNamedTupleMember);
77531
77536
  for (const e of elementTypes) {
77537
+ if (e.kind !== 201 /* NamedTupleMember */ && hasNamedElement) {
77538
+ grammarErrorOnNode(e, Diagnostics.Tuple_members_must_all_have_names_or_all_not_have_names);
77539
+ break;
77540
+ }
77532
77541
  const flags = getTupleElementFlags(e);
77533
77542
  if (flags & 8 /* Variadic */) {
77534
77543
  const type = getTypeFromTypeNode(e.type);
@@ -85911,13 +85920,13 @@ ${lanes.join("\n")}
85911
85920
  JsxNames2.IntrinsicClassAttributes = "IntrinsicClassAttributes";
85912
85921
  JsxNames2.LibraryManagedAttributes = "LibraryManagedAttributes";
85913
85922
  })(JsxNames || (JsxNames = {}));
85914
- SymbolTrackerImpl = class {
85923
+ SymbolTrackerImpl = class _SymbolTrackerImpl {
85915
85924
  constructor(context, tracker, moduleResolverHost) {
85916
85925
  this.moduleResolverHost = void 0;
85917
85926
  this.inner = void 0;
85918
85927
  this.disableTrackSymbol = false;
85919
85928
  var _a;
85920
- while (tracker instanceof SymbolTrackerImpl) {
85929
+ while (tracker instanceof _SymbolTrackerImpl) {
85921
85930
  tracker = tracker.inner;
85922
85931
  }
85923
85932
  this.inner = tracker;
@@ -166127,7 +166136,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
166127
166136
  leadingTriviaOption: 0 /* Exclude */,
166128
166137
  trailingTriviaOption: 0 /* Exclude */
166129
166138
  };
166130
- ChangeTracker = class {
166139
+ ChangeTracker = class _ChangeTracker {
166131
166140
  /** Public for tests only. Other callers should use `ChangeTracker.with`. */
166132
166141
  constructor(newLineCharacter, formatContext) {
166133
166142
  this.newLineCharacter = newLineCharacter;
@@ -166138,10 +166147,10 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
166138
166147
  this.deletedNodes = [];
166139
166148
  }
166140
166149
  static fromContext(context) {
166141
- return new ChangeTracker(getNewLineOrDefaultFromHost(context.host, context.formatContext.options), context.formatContext);
166150
+ return new _ChangeTracker(getNewLineOrDefaultFromHost(context.host, context.formatContext.options), context.formatContext);
166142
166151
  }
166143
166152
  static with(context, cb) {
166144
- const tracker = ChangeTracker.fromContext(context);
166153
+ const tracker = _ChangeTracker.fromContext(context);
166145
166154
  cb(tracker);
166146
166155
  return tracker.getChanges();
166147
166156
  }
@@ -54,7 +54,7 @@ var path = __toESM(require("path"));
54
54
 
55
55
  // src/compiler/corePublic.ts
56
56
  var versionMajorMinor = "5.2";
57
- var version = `${versionMajorMinor}.0-insiders.20230615`;
57
+ var version = `${versionMajorMinor}.0-insiders.20230617`;
58
58
 
59
59
  // src/compiler/core.ts
60
60
  var emptyArray = [];
@@ -1856,7 +1856,7 @@ var prereleasePartRegExp = /^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)$/i;
1856
1856
  var buildRegExp = /^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i;
1857
1857
  var buildPartRegExp = /^[a-z0-9-]+$/i;
1858
1858
  var numericIdentifierRegExp = /^(0|[1-9]\d*)$/;
1859
- var _Version = class {
1859
+ var _Version = class _Version {
1860
1860
  constructor(major, minor = 0, patch = 0, prerelease = "", build = "") {
1861
1861
  if (typeof major === "string") {
1862
1862
  const result = Debug.checkDefined(tryParseComponents(major), "Invalid version");
@@ -1920,8 +1920,8 @@ var _Version = class {
1920
1920
  return result;
1921
1921
  }
1922
1922
  };
1923
+ _Version.zero = new _Version(0, 0, 0, ["0"]);
1923
1924
  var Version = _Version;
1924
- Version.zero = new _Version(0, 0, 0, ["0"]);
1925
1925
  function tryParseComponents(text) {
1926
1926
  const match = versionRegExp.exec(text);
1927
1927
  if (!match)
@@ -1968,14 +1968,14 @@ function comparePrereleaseIdentifiers(left, right) {
1968
1968
  }
1969
1969
  return compareValues(left.length, right.length);
1970
1970
  }
1971
- var VersionRange = class {
1971
+ var VersionRange = class _VersionRange {
1972
1972
  constructor(spec) {
1973
1973
  this._alternatives = spec ? Debug.checkDefined(parseRange(spec), "Invalid range spec.") : emptyArray;
1974
1974
  }
1975
1975
  static tryParse(text) {
1976
1976
  const sets = parseRange(text);
1977
1977
  if (sets) {
1978
- const range = new VersionRange("");
1978
+ const range = new _VersionRange("");
1979
1979
  range._alternatives = sets;
1980
1980
  return range;
1981
1981
  }
@@ -6182,6 +6182,7 @@ var Diagnostics = {
6182
6182
  Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0: diag(5081, 1 /* Error */, "Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0_5081", "Cannot find a tsconfig.json file at the current directory: {0}."),
6183
6183
  _0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1: diag(5082, 1 /* Error */, "_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1_5082", "'{0}' could be instantiated with an arbitrary type which could be unrelated to '{1}'."),
6184
6184
  Cannot_read_file_0: diag(5083, 1 /* Error */, "Cannot_read_file_0_5083", "Cannot read file '{0}'."),
6185
+ Tuple_members_must_all_have_names_or_all_not_have_names: diag(5084, 1 /* Error */, "Tuple_members_must_all_have_names_or_all_not_have_names_5084", "Tuple members must all have names or all not have names."),
6185
6186
  A_tuple_member_cannot_be_both_optional_and_rest: diag(5085, 1 /* Error */, "A_tuple_member_cannot_be_both_optional_and_rest_5085", "A tuple member cannot be both optional and rest."),
6186
6187
  A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type: diag(5086, 1 /* Error */, "A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_c_5086", "A labeled tuple element is declared as optional with a question mark after the name and before the colon, rather than after the type."),
6187
6188
  A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type: diag(5087, 1 /* Error */, "A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type_5087", "A labeled tuple element is declared as rest with a '...' before the name, rather than before the type."),
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.2.0-pr-53356-21",
5
+ "version": "5.2.0-pr-48838-5",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [
@@ -115,5 +115,5 @@
115
115
  "node": "20.1.0",
116
116
  "npm": "8.19.4"
117
117
  },
118
- "gitHead": "0003af0701202d3feb29063d5e5073970dca9f6d"
118
+ "gitHead": "7d382f0201ffe0197104aa622496dbc680f2d6df"
119
119
  }