typescript 5.5.0-dev.20240503 → 5.5.0-dev.20240504

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.5";
21
- var version = `${versionMajorMinor}.0-dev.20240503`;
21
+ var version = `${versionMajorMinor}.0-dev.20240504`;
22
22
 
23
23
  // src/compiler/core.ts
24
24
  var emptyArray = [];
@@ -16360,6 +16360,8 @@ function getAllAccessorDeclarations(declarations, accessor) {
16360
16360
  function getEffectiveTypeAnnotationNode(node) {
16361
16361
  if (!isInJSFile(node) && isFunctionDeclaration(node))
16362
16362
  return void 0;
16363
+ if (isTypeAliasDeclaration(node))
16364
+ return void 0;
16363
16365
  const type = node.type;
16364
16366
  if (type || !isInJSFile(node))
16365
16367
  return type;
package/lib/typescript.js CHANGED
@@ -2364,7 +2364,7 @@ module.exports = __toCommonJS(typescript_exports);
2364
2364
 
2365
2365
  // src/compiler/corePublic.ts
2366
2366
  var versionMajorMinor = "5.5";
2367
- var version = `${versionMajorMinor}.0-dev.20240503`;
2367
+ var version = `${versionMajorMinor}.0-dev.20240504`;
2368
2368
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
2369
2369
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
2370
2370
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -20457,6 +20457,8 @@ function getAllAccessorDeclarations(declarations, accessor) {
20457
20457
  function getEffectiveTypeAnnotationNode(node) {
20458
20458
  if (!isInJSFile(node) && isFunctionDeclaration(node))
20459
20459
  return void 0;
20460
+ if (isTypeAliasDeclaration(node))
20461
+ return void 0;
20460
20462
  const type = node.type;
20461
20463
  if (type || !isInJSFile(node))
20462
20464
  return type;
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.5.0-dev.20240503",
5
+ "version": "5.5.0-dev.20240504",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [
@@ -110,5 +110,5 @@
110
110
  "node": "20.1.0",
111
111
  "npm": "8.19.4"
112
112
  },
113
- "gitHead": "3a74ec4e992eacba932c302fded9a636a6c00875"
113
+ "gitHead": "e154d47851797a58dc32e8d1049ae1e68a210023"
114
114
  }