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

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.20250811`;
21
+ var version = `${versionMajorMinor}.0-insiders.20250812`;
22
22
 
23
23
  // src/compiler/core.ts
24
24
  var emptyArray = [];
@@ -76907,9 +76907,12 @@ function createTypeChecker(host) {
76907
76907
  }
76908
76908
  return resolveErrorCall(node);
76909
76909
  }
76910
- if (checkMode & 8 /* SkipGenericFunctions */ && !node.typeArguments && callSignatures.some(isGenericFunctionReturningFunction)) {
76911
- skippedGenericFunction(node, checkMode);
76912
- return resolvingSignature;
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
+ }
76913
76916
  }
76914
76917
  if (callSignatures.some((sig) => isInJSFile(sig.declaration) && !!getJSDocClassTag(sig.declaration))) {
76915
76918
  error(node, Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new, typeToString(funcType));
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.20250811`;
2288
+ var version = `${versionMajorMinor}.0-insiders.20250812`;
2289
2289
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
2290
2290
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
2291
2291
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -81515,9 +81515,12 @@ function createTypeChecker(host) {
81515
81515
  }
81516
81516
  return resolveErrorCall(node);
81517
81517
  }
81518
- if (checkMode & 8 /* SkipGenericFunctions */ && !node.typeArguments && callSignatures.some(isGenericFunctionReturningFunction)) {
81519
- skippedGenericFunction(node, checkMode);
81520
- return resolvingSignature;
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
+ }
81521
81524
  }
81522
81525
  if (callSignatures.some((sig) => isInJSFile(sig.declaration) && !!getJSDocClassTag(sig.declaration))) {
81523
81526
  error2(node, Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new, typeToString(funcType));
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-10",
5
+ "version": "6.0.0-pr-62243-18",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [