@typescript-deploys/pr-build 5.0.0-pr-52848-9 → 5.0.0-pr-52865-6

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
@@ -23,7 +23,7 @@ var __export = (target, all) => {
23
23
 
24
24
  // src/compiler/corePublic.ts
25
25
  var versionMajorMinor = "5.0";
26
- var version = `${versionMajorMinor}.0-insiders.20230219`;
26
+ var version = `${versionMajorMinor}.0-insiders.20230220`;
27
27
 
28
28
  // src/compiler/core.ts
29
29
  var emptyArray = [];
@@ -56913,7 +56913,7 @@ function createTypeChecker(host) {
56913
56913
  }
56914
56914
  function getActualTypeVariable(type) {
56915
56915
  if (type.flags & 33554432 /* Substitution */) {
56916
- return getActualTypeVariable(type.baseType);
56916
+ return type.baseType;
56917
56917
  }
56918
56918
  if (type.flags & 8388608 /* IndexedAccess */ && (type.objectType.flags & 33554432 /* Substitution */ || type.indexType.flags & 33554432 /* Substitution */)) {
56919
56919
  return getIndexedAccessType(getActualTypeVariable(type.objectType), getActualTypeVariable(type.indexType));
@@ -63329,7 +63329,7 @@ function createTypeChecker(host) {
63329
63329
  const constraint = getConstraintOfTypeParameter(inference.typeParameter);
63330
63330
  if (constraint) {
63331
63331
  const instantiatedConstraint = instantiateType(constraint, context.nonFixingMapper);
63332
- if (!inferredType || !context.compareTypes(inferredType, getTypeWithThisArgument(instantiatedConstraint, inferredType))) {
63332
+ if (!inferredType || inferredType === silentNeverType || !context.compareTypes(inferredType, getTypeWithThisArgument(instantiatedConstraint, inferredType))) {
63333
63333
  inference.inferredType = inferredType = instantiatedConstraint;
63334
63334
  }
63335
63335
  }
package/lib/tsserver.js CHANGED
@@ -2288,7 +2288,7 @@ module.exports = __toCommonJS(server_exports);
2288
2288
 
2289
2289
  // src/compiler/corePublic.ts
2290
2290
  var versionMajorMinor = "5.0";
2291
- var version = `${versionMajorMinor}.0-insiders.20230219`;
2291
+ var version = `${versionMajorMinor}.0-insiders.20230220`;
2292
2292
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
2293
2293
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
2294
2294
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -61520,7 +61520,7 @@ function createTypeChecker(host) {
61520
61520
  }
61521
61521
  function getActualTypeVariable(type) {
61522
61522
  if (type.flags & 33554432 /* Substitution */) {
61523
- return getActualTypeVariable(type.baseType);
61523
+ return type.baseType;
61524
61524
  }
61525
61525
  if (type.flags & 8388608 /* IndexedAccess */ && (type.objectType.flags & 33554432 /* Substitution */ || type.indexType.flags & 33554432 /* Substitution */)) {
61526
61526
  return getIndexedAccessType(getActualTypeVariable(type.objectType), getActualTypeVariable(type.indexType));
@@ -67936,7 +67936,7 @@ function createTypeChecker(host) {
67936
67936
  const constraint = getConstraintOfTypeParameter(inference.typeParameter);
67937
67937
  if (constraint) {
67938
67938
  const instantiatedConstraint = instantiateType(constraint, context.nonFixingMapper);
67939
- if (!inferredType || !context.compareTypes(inferredType, getTypeWithThisArgument(instantiatedConstraint, inferredType))) {
67939
+ if (!inferredType || inferredType === silentNeverType || !context.compareTypes(inferredType, getTypeWithThisArgument(instantiatedConstraint, inferredType))) {
67940
67940
  inference.inferredType = inferredType = instantiatedConstraint;
67941
67941
  }
67942
67942
  }
@@ -35,7 +35,7 @@ var ts = (() => {
35
35
  "src/compiler/corePublic.ts"() {
36
36
  "use strict";
37
37
  versionMajorMinor = "5.0";
38
- version = `${versionMajorMinor}.0-insiders.20230219`;
38
+ version = `${versionMajorMinor}.0-insiders.20230220`;
39
39
  Comparison = /* @__PURE__ */ ((Comparison3) => {
40
40
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
41
41
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -59328,7 +59328,7 @@ ${lanes.join("\n")}
59328
59328
  }
59329
59329
  function getActualTypeVariable(type) {
59330
59330
  if (type.flags & 33554432 /* Substitution */) {
59331
- return getActualTypeVariable(type.baseType);
59331
+ return type.baseType;
59332
59332
  }
59333
59333
  if (type.flags & 8388608 /* IndexedAccess */ && (type.objectType.flags & 33554432 /* Substitution */ || type.indexType.flags & 33554432 /* Substitution */)) {
59334
59334
  return getIndexedAccessType(getActualTypeVariable(type.objectType), getActualTypeVariable(type.indexType));
@@ -65744,7 +65744,7 @@ ${lanes.join("\n")}
65744
65744
  const constraint = getConstraintOfTypeParameter(inference.typeParameter);
65745
65745
  if (constraint) {
65746
65746
  const instantiatedConstraint = instantiateType(constraint, context.nonFixingMapper);
65747
- if (!inferredType || !context.compareTypes(inferredType, getTypeWithThisArgument(instantiatedConstraint, inferredType))) {
65747
+ if (!inferredType || inferredType === silentNeverType || !context.compareTypes(inferredType, getTypeWithThisArgument(instantiatedConstraint, inferredType))) {
65748
65748
  inference.inferredType = inferredType = instantiatedConstraint;
65749
65749
  }
65750
65750
  }
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.0";
38
- version = `${versionMajorMinor}.0-insiders.20230219`;
38
+ version = `${versionMajorMinor}.0-insiders.20230220`;
39
39
  Comparison = /* @__PURE__ */ ((Comparison3) => {
40
40
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
41
41
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -59328,7 +59328,7 @@ ${lanes.join("\n")}
59328
59328
  }
59329
59329
  function getActualTypeVariable(type) {
59330
59330
  if (type.flags & 33554432 /* Substitution */) {
59331
- return getActualTypeVariable(type.baseType);
59331
+ return type.baseType;
59332
59332
  }
59333
59333
  if (type.flags & 8388608 /* IndexedAccess */ && (type.objectType.flags & 33554432 /* Substitution */ || type.indexType.flags & 33554432 /* Substitution */)) {
59334
59334
  return getIndexedAccessType(getActualTypeVariable(type.objectType), getActualTypeVariable(type.indexType));
@@ -65744,7 +65744,7 @@ ${lanes.join("\n")}
65744
65744
  const constraint = getConstraintOfTypeParameter(inference.typeParameter);
65745
65745
  if (constraint) {
65746
65746
  const instantiatedConstraint = instantiateType(constraint, context.nonFixingMapper);
65747
- if (!inferredType || !context.compareTypes(inferredType, getTypeWithThisArgument(instantiatedConstraint, inferredType))) {
65747
+ if (!inferredType || inferredType === silentNeverType || !context.compareTypes(inferredType, getTypeWithThisArgument(instantiatedConstraint, inferredType))) {
65748
65748
  inference.inferredType = inferredType = instantiatedConstraint;
65749
65749
  }
65750
65750
  }
@@ -54,7 +54,7 @@ var path = __toESM(require("path"));
54
54
 
55
55
  // src/compiler/corePublic.ts
56
56
  var versionMajorMinor = "5.0";
57
- var version = `${versionMajorMinor}.0-insiders.20230219`;
57
+ var version = `${versionMajorMinor}.0-insiders.20230220`;
58
58
 
59
59
  // src/compiler/core.ts
60
60
  var emptyArray = [];
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.0.0-pr-52848-9",
5
+ "version": "5.0.0-pr-52865-6",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [