@typescript-deploys/pr-build 5.3.0-pr-56072-6 → 5.3.0-pr-55267-31

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
@@ -66462,25 +66462,7 @@ function createTypeChecker(host) {
66462
66462
  const matching = discriminant && getConstituentTypeForKeyType(type, discriminant);
66463
66463
  const directlyRelated = mapType(
66464
66464
  matching || type,
66465
- checkDerived ? (t) => isTypeDerivedFrom(t, c) ? t : isTypeDerivedFrom(c, t) ? c : neverType : (t) => {
66466
- if (t.flags & 2944 /* Literal */ && c.flags & 2944 /* Literal */) {
66467
- if (t.flags & 512 /* BooleanLiteral */ && c.flags & 512 /* BooleanLiteral */) {
66468
- return t === c ? t : neverType;
66469
- }
66470
- return t.value === c.value ? t : neverType;
66471
- }
66472
- if (isTypeStrictSubtypeOf(t, c))
66473
- return t;
66474
- if (isTypeStrictSubtypeOf(c, t))
66475
- return c;
66476
- if (t.flags & 109472 /* Unit */ && c.flags & 109472 /* Unit */)
66477
- return neverType;
66478
- if (isTypeSubtypeOf(t, c))
66479
- return t;
66480
- if (isTypeSubtypeOf(c, t))
66481
- return c;
66482
- return neverType;
66483
- }
66465
+ checkDerived ? (t) => isTypeDerivedFrom(t, c) ? t : isTypeDerivedFrom(c, t) ? c : neverType : (t) => isTypeStrictSubtypeOf(t, c) ? t : isTypeStrictSubtypeOf(c, t) ? c : isTypeSubtypeOf(t, c) ? t : isTypeSubtypeOf(c, t) ? c : neverType
66484
66466
  );
66485
66467
  return directlyRelated.flags & 131072 /* Never */ ? mapType(type, (t) => maybeTypeOfKind(t, 465829888 /* Instantiable */) && isRelated(c, getBaseConstraintOfType(t) || unknownType) ? getIntersectionType([t, c]) : neverType) : directlyRelated;
66486
66468
  });
package/lib/tsserver.js CHANGED
@@ -71174,25 +71174,7 @@ function createTypeChecker(host) {
71174
71174
  const matching = discriminant && getConstituentTypeForKeyType(type, discriminant);
71175
71175
  const directlyRelated = mapType(
71176
71176
  matching || type,
71177
- checkDerived ? (t) => isTypeDerivedFrom(t, c) ? t : isTypeDerivedFrom(c, t) ? c : neverType : (t) => {
71178
- if (t.flags & 2944 /* Literal */ && c.flags & 2944 /* Literal */) {
71179
- if (t.flags & 512 /* BooleanLiteral */ && c.flags & 512 /* BooleanLiteral */) {
71180
- return t === c ? t : neverType;
71181
- }
71182
- return t.value === c.value ? t : neverType;
71183
- }
71184
- if (isTypeStrictSubtypeOf(t, c))
71185
- return t;
71186
- if (isTypeStrictSubtypeOf(c, t))
71187
- return c;
71188
- if (t.flags & 109472 /* Unit */ && c.flags & 109472 /* Unit */)
71189
- return neverType;
71190
- if (isTypeSubtypeOf(t, c))
71191
- return t;
71192
- if (isTypeSubtypeOf(c, t))
71193
- return c;
71194
- return neverType;
71195
- }
71177
+ checkDerived ? (t) => isTypeDerivedFrom(t, c) ? t : isTypeDerivedFrom(c, t) ? c : neverType : (t) => isTypeStrictSubtypeOf(t, c) ? t : isTypeStrictSubtypeOf(c, t) ? c : isTypeSubtypeOf(t, c) ? t : isTypeSubtypeOf(c, t) ? c : neverType
71196
71178
  );
71197
71179
  return directlyRelated.flags & 131072 /* Never */ ? mapType(type, (t) => maybeTypeOfKind(t, 465829888 /* Instantiable */) && isRelated(c, getBaseConstraintOfType(t) || unknownType) ? getIntersectionType([t, c]) : neverType) : directlyRelated;
71198
71180
  });
package/lib/typescript.js CHANGED
@@ -68941,25 +68941,7 @@ ${lanes.join("\n")}
68941
68941
  const matching = discriminant && getConstituentTypeForKeyType(type, discriminant);
68942
68942
  const directlyRelated = mapType(
68943
68943
  matching || type,
68944
- checkDerived ? (t) => isTypeDerivedFrom(t, c) ? t : isTypeDerivedFrom(c, t) ? c : neverType : (t) => {
68945
- if (t.flags & 2944 /* Literal */ && c.flags & 2944 /* Literal */) {
68946
- if (t.flags & 512 /* BooleanLiteral */ && c.flags & 512 /* BooleanLiteral */) {
68947
- return t === c ? t : neverType;
68948
- }
68949
- return t.value === c.value ? t : neverType;
68950
- }
68951
- if (isTypeStrictSubtypeOf(t, c))
68952
- return t;
68953
- if (isTypeStrictSubtypeOf(c, t))
68954
- return c;
68955
- if (t.flags & 109472 /* Unit */ && c.flags & 109472 /* Unit */)
68956
- return neverType;
68957
- if (isTypeSubtypeOf(t, c))
68958
- return t;
68959
- if (isTypeSubtypeOf(c, t))
68960
- return c;
68961
- return neverType;
68962
- }
68944
+ checkDerived ? (t) => isTypeDerivedFrom(t, c) ? t : isTypeDerivedFrom(c, t) ? c : neverType : (t) => isTypeStrictSubtypeOf(t, c) ? t : isTypeStrictSubtypeOf(c, t) ? c : isTypeSubtypeOf(t, c) ? t : isTypeSubtypeOf(c, t) ? c : neverType
68963
68945
  );
68964
68946
  return directlyRelated.flags & 131072 /* Never */ ? mapType(type, (t) => maybeTypeOfKind(t, 465829888 /* Instantiable */) && isRelated(c, getBaseConstraintOfType(t) || unknownType) ? getIntersectionType([t, c]) : neverType) : directlyRelated;
68965
68947
  });
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.3.0-pr-56072-6",
5
+ "version": "5.3.0-pr-55267-31",
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": "02c24bddf084ae0ead9c4bd0c2239088c08e7af3"
118
+ "gitHead": "3edb3a1972e7ecce853ac28793346f36f57496df"
119
119
  }