typescript 5.9.0-dev.20250413 → 5.9.0-dev.20250415

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 = "5.9";
21
- var version = `${versionMajorMinor}.0-dev.20250413`;
21
+ var version = `${versionMajorMinor}.0-dev.20250415`;
22
22
 
23
23
  // src/compiler/core.ts
24
24
  var emptyArray = [];
@@ -58577,7 +58577,7 @@ function createTypeChecker(host) {
58577
58577
  let hasThisParameter = false;
58578
58578
  const iife = getImmediatelyInvokedFunctionExpression(declaration);
58579
58579
  const isJSConstructSignature = isJSDocConstructSignature(declaration);
58580
- const isUntypedSignatureInJSFile = !iife && isInJSFile(declaration) && isValueSignatureDeclaration(declaration) && !hasJSDocParameterTags(declaration) && !getJSDocType(declaration) && !getContextualSignatureForFunctionLikeDeclaration(declaration);
58580
+ const isUntypedSignatureInJSFile = !iife && isInJSFile(declaration) && isValueSignatureDeclaration(declaration) && !hasJSDocParameterTags(declaration) && !some(declaration.parameters, (p) => !!getJSDocType(p)) && !getJSDocType(declaration) && !getContextualSignatureForFunctionLikeDeclaration(declaration);
58581
58581
  if (isUntypedSignatureInJSFile) {
58582
58582
  flags |= 32 /* IsUntypedSignatureInJSFile */;
58583
58583
  }
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 = "5.9";
2288
- var version = `${versionMajorMinor}.0-dev.20250413`;
2288
+ var version = `${versionMajorMinor}.0-dev.20250415`;
2289
2289
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
2290
2290
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
2291
2291
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -63187,7 +63187,7 @@ function createTypeChecker(host) {
63187
63187
  let hasThisParameter2 = false;
63188
63188
  const iife = getImmediatelyInvokedFunctionExpression(declaration);
63189
63189
  const isJSConstructSignature = isJSDocConstructSignature(declaration);
63190
- const isUntypedSignatureInJSFile = !iife && isInJSFile(declaration) && isValueSignatureDeclaration(declaration) && !hasJSDocParameterTags(declaration) && !getJSDocType(declaration) && !getContextualSignatureForFunctionLikeDeclaration(declaration);
63190
+ const isUntypedSignatureInJSFile = !iife && isInJSFile(declaration) && isValueSignatureDeclaration(declaration) && !hasJSDocParameterTags(declaration) && !some(declaration.parameters, (p) => !!getJSDocType(p)) && !getJSDocType(declaration) && !getContextualSignatureForFunctionLikeDeclaration(declaration);
63191
63191
  if (isUntypedSignatureInJSFile) {
63192
63192
  flags |= 32 /* IsUntypedSignatureInJSFile */;
63193
63193
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "typescript",
3
3
  "author": "Microsoft Corp.",
4
4
  "homepage": "https://www.typescriptlang.org/",
5
- "version": "5.9.0-dev.20250413",
5
+ "version": "5.9.0-dev.20250415",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [
@@ -116,5 +116,5 @@
116
116
  "node": "20.1.0",
117
117
  "npm": "8.19.4"
118
118
  },
119
- "gitHead": "83dc0bb2ed91fe0815ab28dc3ff95fae7425e413"
119
+ "gitHead": "eef7c14ef163696d5ea85275ea122e28fb4eeab7"
120
120
  }