@typescript-deploys/pr-build 5.2.0-pr-55224-37 → 5.2.0-pr-55177-9

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
@@ -67312,7 +67312,7 @@ function createTypeChecker(host) {
67312
67312
  } else if (t.flags & 3670016 /* StructuredType */) {
67313
67313
  const prop = getPropertyOfType(t, name);
67314
67314
  if (prop) {
67315
- return isCircularMappedProperty(prop) ? void 0 : getTypeOfSymbol(prop);
67315
+ return isCircularMappedProperty(prop) ? void 0 : removeMissingType(getTypeOfSymbol(prop), !!(prop && prop.flags & 16777216 /* Optional */));
67316
67316
  }
67317
67317
  if (isTupleType(t) && isNumericLiteralName(name) && +name >= 0) {
67318
67318
  const restType = getElementTypeOfSliceOfTupleType(
@@ -67397,7 +67397,7 @@ function createTypeChecker(host) {
67397
67397
  (t) => {
67398
67398
  if (isTupleType(t)) {
67399
67399
  if ((firstSpreadIndex === void 0 || index < firstSpreadIndex) && index < t.target.fixedLength) {
67400
- return getTypeArguments(t)[index];
67400
+ return removeMissingType(getTypeArguments(t)[index], !!(t.target.elementFlags[index] && 2 /* Optional */));
67401
67401
  }
67402
67402
  const offset = length2 !== void 0 && (lastSpreadIndex === void 0 || index > lastSpreadIndex) ? length2 - index : 0;
67403
67403
  const fixedEndLength = offset > 0 && t.target.hasRestElement ? getEndElementCount(t.target, 3 /* Fixed */) : 0;
package/lib/tsserver.js CHANGED
@@ -72023,7 +72023,7 @@ function createTypeChecker(host) {
72023
72023
  } else if (t.flags & 3670016 /* StructuredType */) {
72024
72024
  const prop = getPropertyOfType(t, name);
72025
72025
  if (prop) {
72026
- return isCircularMappedProperty(prop) ? void 0 : getTypeOfSymbol(prop);
72026
+ return isCircularMappedProperty(prop) ? void 0 : removeMissingType(getTypeOfSymbol(prop), !!(prop && prop.flags & 16777216 /* Optional */));
72027
72027
  }
72028
72028
  if (isTupleType(t) && isNumericLiteralName(name) && +name >= 0) {
72029
72029
  const restType = getElementTypeOfSliceOfTupleType(
@@ -72108,7 +72108,7 @@ function createTypeChecker(host) {
72108
72108
  (t) => {
72109
72109
  if (isTupleType(t)) {
72110
72110
  if ((firstSpreadIndex === void 0 || index < firstSpreadIndex) && index < t.target.fixedLength) {
72111
- return getTypeArguments(t)[index];
72111
+ return removeMissingType(getTypeArguments(t)[index], !!(t.target.elementFlags[index] && 2 /* Optional */));
72112
72112
  }
72113
72113
  const offset = length2 !== void 0 && (lastSpreadIndex === void 0 || index > lastSpreadIndex) ? length2 - index : 0;
72114
72114
  const fixedEndLength = offset > 0 && t.target.hasRestElement ? getEndElementCount(t.target, 3 /* Fixed */) : 0;
@@ -69786,7 +69786,7 @@ ${lanes.join("\n")}
69786
69786
  } else if (t.flags & 3670016 /* StructuredType */) {
69787
69787
  const prop = getPropertyOfType(t, name);
69788
69788
  if (prop) {
69789
- return isCircularMappedProperty(prop) ? void 0 : getTypeOfSymbol(prop);
69789
+ return isCircularMappedProperty(prop) ? void 0 : removeMissingType(getTypeOfSymbol(prop), !!(prop && prop.flags & 16777216 /* Optional */));
69790
69790
  }
69791
69791
  if (isTupleType(t) && isNumericLiteralName(name) && +name >= 0) {
69792
69792
  const restType = getElementTypeOfSliceOfTupleType(
@@ -69871,7 +69871,7 @@ ${lanes.join("\n")}
69871
69871
  (t) => {
69872
69872
  if (isTupleType(t)) {
69873
69873
  if ((firstSpreadIndex === void 0 || index < firstSpreadIndex) && index < t.target.fixedLength) {
69874
- return getTypeArguments(t)[index];
69874
+ return removeMissingType(getTypeArguments(t)[index], !!(t.target.elementFlags[index] && 2 /* Optional */));
69875
69875
  }
69876
69876
  const offset = length2 !== void 0 && (lastSpreadIndex === void 0 || index > lastSpreadIndex) ? length2 - index : 0;
69877
69877
  const fixedEndLength = offset > 0 && t.target.hasRestElement ? getEndElementCount(t.target, 3 /* Fixed */) : 0;
package/lib/typescript.js CHANGED
@@ -69786,7 +69786,7 @@ ${lanes.join("\n")}
69786
69786
  } else if (t.flags & 3670016 /* StructuredType */) {
69787
69787
  const prop = getPropertyOfType(t, name);
69788
69788
  if (prop) {
69789
- return isCircularMappedProperty(prop) ? void 0 : getTypeOfSymbol(prop);
69789
+ return isCircularMappedProperty(prop) ? void 0 : removeMissingType(getTypeOfSymbol(prop), !!(prop && prop.flags & 16777216 /* Optional */));
69790
69790
  }
69791
69791
  if (isTupleType(t) && isNumericLiteralName(name) && +name >= 0) {
69792
69792
  const restType = getElementTypeOfSliceOfTupleType(
@@ -69871,7 +69871,7 @@ ${lanes.join("\n")}
69871
69871
  (t) => {
69872
69872
  if (isTupleType(t)) {
69873
69873
  if ((firstSpreadIndex === void 0 || index < firstSpreadIndex) && index < t.target.fixedLength) {
69874
- return getTypeArguments(t)[index];
69874
+ return removeMissingType(getTypeArguments(t)[index], !!(t.target.elementFlags[index] && 2 /* Optional */));
69875
69875
  }
69876
69876
  const offset = length2 !== void 0 && (lastSpreadIndex === void 0 || index > lastSpreadIndex) ? length2 - index : 0;
69877
69877
  const fixedEndLength = offset > 0 && t.target.hasRestElement ? getEndElementCount(t.target, 3 /* Fixed */) : 0;
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-55224-37",
5
+ "version": "5.2.0-pr-55177-9",
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": "cd08458e03f1b85b2d2898671792eb3e997ec75f"
117
+ "gitHead": "237c15be509dbf10c4a9c6b2d7495acad4736031"
118
118
  }