@typescript-deploys/pr-build 6.0.0-pr-62243-18 → 6.0.0-pr-62243-25

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
@@ -18,7 +18,7 @@ and limitations under the License.
18
18
 
19
19
  // src/compiler/corePublic.ts
20
20
  var versionMajorMinor = "6.0";
21
- var version = `${versionMajorMinor}.0-insiders.20250812`;
21
+ var version = `${versionMajorMinor}.0-insiders.20250813`;
22
22
 
23
23
  // src/compiler/core.ts
24
24
  var emptyArray = [];
@@ -76907,12 +76907,9 @@ function createTypeChecker(host) {
76907
76907
  }
76908
76908
  return resolveErrorCall(node);
76909
76909
  }
76910
- if (checkMode & 8 /* SkipGenericFunctions */ && !node.typeArguments) {
76911
- const args = getEffectiveCallArguments(node);
76912
- if (some(callSignatures, (candidate) => hasCorrectArity(node, args, candidate) && isGenericFunctionReturningFunction(candidate))) {
76913
- skippedGenericFunction(node, checkMode);
76914
- return resolvingSignature;
76915
- }
76910
+ if (checkMode & 8 /* SkipGenericFunctions */ && !node.typeArguments && callSignatures.some(isGenericFunctionReturningFunction)) {
76911
+ skippedGenericFunction(node, checkMode);
76912
+ return resolvingSignature;
76916
76913
  }
76917
76914
  if (callSignatures.some((sig) => isInJSFile(sig.declaration) && !!getJSDocClassTag(sig.declaration))) {
76918
76915
  error(node, Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new, typeToString(funcType));
@@ -78739,7 +78736,7 @@ function createTypeChecker(host) {
78739
78736
  const nextTypes = [];
78740
78737
  const isAsync = (getFunctionFlags(func) & 2 /* Async */) !== 0;
78741
78738
  forEachYieldExpression(func.body, (yieldExpression) => {
78742
- const yieldExpressionType = yieldExpression.expression ? checkExpression(yieldExpression.expression, checkMode) : undefinedWideningType;
78739
+ const yieldExpressionType = yieldExpression.expression ? checkExpression(yieldExpression.expression, checkMode && checkMode & ~8 /* SkipGenericFunctions */) : undefinedWideningType;
78743
78740
  pushIfUnique(yieldTypes, getYieldedTypeOfYieldExpression(yieldExpression, yieldExpressionType, anyType, isAsync));
78744
78741
  let nextType;
78745
78742
  if (yieldExpression.asteriskToken) {
package/lib/typescript.js CHANGED
@@ -2285,7 +2285,7 @@ module.exports = __toCommonJS(typescript_exports);
2285
2285
 
2286
2286
  // src/compiler/corePublic.ts
2287
2287
  var versionMajorMinor = "6.0";
2288
- var version = `${versionMajorMinor}.0-insiders.20250812`;
2288
+ var version = `${versionMajorMinor}.0-insiders.20250813`;
2289
2289
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
2290
2290
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
2291
2291
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -81515,12 +81515,9 @@ function createTypeChecker(host) {
81515
81515
  }
81516
81516
  return resolveErrorCall(node);
81517
81517
  }
81518
- if (checkMode & 8 /* SkipGenericFunctions */ && !node.typeArguments) {
81519
- const args = getEffectiveCallArguments(node);
81520
- if (some(callSignatures, (candidate) => hasCorrectArity(node, args, candidate) && isGenericFunctionReturningFunction(candidate))) {
81521
- skippedGenericFunction(node, checkMode);
81522
- return resolvingSignature;
81523
- }
81518
+ if (checkMode & 8 /* SkipGenericFunctions */ && !node.typeArguments && callSignatures.some(isGenericFunctionReturningFunction)) {
81519
+ skippedGenericFunction(node, checkMode);
81520
+ return resolvingSignature;
81524
81521
  }
81525
81522
  if (callSignatures.some((sig) => isInJSFile(sig.declaration) && !!getJSDocClassTag(sig.declaration))) {
81526
81523
  error2(node, Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new, typeToString(funcType));
@@ -83347,7 +83344,7 @@ function createTypeChecker(host) {
83347
83344
  const nextTypes = [];
83348
83345
  const isAsync = (getFunctionFlags(func) & 2 /* Async */) !== 0;
83349
83346
  forEachYieldExpression(func.body, (yieldExpression) => {
83350
- const yieldExpressionType = yieldExpression.expression ? checkExpression(yieldExpression.expression, checkMode) : undefinedWideningType;
83347
+ const yieldExpressionType = yieldExpression.expression ? checkExpression(yieldExpression.expression, checkMode && checkMode & ~8 /* SkipGenericFunctions */) : undefinedWideningType;
83351
83348
  pushIfUnique(yieldTypes, getYieldedTypeOfYieldExpression(yieldExpression, yieldExpressionType, anyType, isAsync));
83352
83349
  let nextType;
83353
83350
  if (yieldExpression.asteriskToken) {
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": "6.0.0-pr-62243-18",
5
+ "version": "6.0.0-pr-62243-25",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [