@typescript-deploys/pr-build 5.4.0-pr-57358-11 → 5.4.0-pr-57371-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/tsc.js CHANGED
@@ -54466,6 +54466,8 @@ function createTypeChecker(host) {
54466
54466
  result.compositeSignatures = concatenate(left.compositeKind !== 2097152 /* Intersection */ && left.compositeSignatures || [left], [right]);
54467
54467
  if (paramMapper) {
54468
54468
  result.mapper = left.compositeKind !== 2097152 /* Intersection */ && left.mapper && left.compositeSignatures ? combineTypeMappers(left.mapper, paramMapper) : paramMapper;
54469
+ } else if (left.compositeKind !== 2097152 /* Intersection */ && left.mapper && left.compositeSignatures) {
54470
+ result.mapper = left.mapper;
54469
54471
  }
54470
54472
  return result;
54471
54473
  }
@@ -65648,7 +65650,7 @@ function createTypeChecker(host) {
65648
65650
  function hasMatchingArgument(expression, reference) {
65649
65651
  if (expression.arguments) {
65650
65652
  for (const argument of expression.arguments) {
65651
- if (isOrContainsMatchingReference(reference, argument) || optionalChainContainsReference(argument, reference) || isAccessExpression(argument) && isMatchingReference(reference, argument.expression)) {
65653
+ if (isOrContainsMatchingReference(reference, argument) || optionalChainContainsReference(argument, reference)) {
65652
65654
  return true;
65653
65655
  }
65654
65656
  }
package/lib/tsserver.js CHANGED
@@ -59210,6 +59210,8 @@ function createTypeChecker(host) {
59210
59210
  result.compositeSignatures = concatenate(left.compositeKind !== 2097152 /* Intersection */ && left.compositeSignatures || [left], [right]);
59211
59211
  if (paramMapper) {
59212
59212
  result.mapper = left.compositeKind !== 2097152 /* Intersection */ && left.mapper && left.compositeSignatures ? combineTypeMappers(left.mapper, paramMapper) : paramMapper;
59213
+ } else if (left.compositeKind !== 2097152 /* Intersection */ && left.mapper && left.compositeSignatures) {
59214
+ result.mapper = left.mapper;
59213
59215
  }
59214
59216
  return result;
59215
59217
  }
@@ -70392,7 +70394,7 @@ function createTypeChecker(host) {
70392
70394
  function hasMatchingArgument(expression, reference) {
70393
70395
  if (expression.arguments) {
70394
70396
  for (const argument of expression.arguments) {
70395
- if (isOrContainsMatchingReference(reference, argument) || optionalChainContainsReference(argument, reference) || isAccessExpression(argument) && isMatchingReference(reference, argument.expression)) {
70397
+ if (isOrContainsMatchingReference(reference, argument) || optionalChainContainsReference(argument, reference)) {
70396
70398
  return true;
70397
70399
  }
70398
70400
  }
package/lib/typescript.js CHANGED
@@ -56965,6 +56965,8 @@ ${lanes.join("\n")}
56965
56965
  result.compositeSignatures = concatenate(left.compositeKind !== 2097152 /* Intersection */ && left.compositeSignatures || [left], [right]);
56966
56966
  if (paramMapper) {
56967
56967
  result.mapper = left.compositeKind !== 2097152 /* Intersection */ && left.mapper && left.compositeSignatures ? combineTypeMappers(left.mapper, paramMapper) : paramMapper;
56968
+ } else if (left.compositeKind !== 2097152 /* Intersection */ && left.mapper && left.compositeSignatures) {
56969
+ result.mapper = left.mapper;
56968
56970
  }
56969
56971
  return result;
56970
56972
  }
@@ -68147,7 +68149,7 @@ ${lanes.join("\n")}
68147
68149
  function hasMatchingArgument(expression, reference) {
68148
68150
  if (expression.arguments) {
68149
68151
  for (const argument of expression.arguments) {
68150
- if (isOrContainsMatchingReference(reference, argument) || optionalChainContainsReference(argument, reference) || isAccessExpression(argument) && isMatchingReference(reference, argument.expression)) {
68152
+ if (isOrContainsMatchingReference(reference, argument) || optionalChainContainsReference(argument, reference)) {
68151
68153
  return true;
68152
68154
  }
68153
68155
  }
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.4.0-pr-57358-11",
5
+ "version": "5.4.0-pr-57371-5",
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": "b87dbd0105bdab7a63a2d0d289f01fe3408069ad"
117
+ "gitHead": "790925bcb211cf4fce75690fefcf6e3846ddee51"
118
118
  }