typescript 5.8.0-dev.20250218 → 5.8.2

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.8";
21
- var version = `${versionMajorMinor}.0-dev.20250218`;
21
+ var version = "5.8.2";
22
22
 
23
23
  // src/compiler/core.ts
24
24
  var emptyArray = [];
@@ -85186,7 +85186,7 @@ function createTypeChecker(host) {
85186
85186
  if (checkGrammarModuleElementContext(node, illegalContextMessage)) {
85187
85187
  return;
85188
85188
  }
85189
- if (compilerOptions.erasableSyntaxOnly && !(node.flags & 33554432 /* Ambient */)) {
85189
+ if (compilerOptions.erasableSyntaxOnly && node.isExportEquals && !(node.flags & 33554432 /* Ambient */)) {
85190
85190
  error(node, Diagnostics.This_syntax_is_not_allowed_when_erasableSyntaxOnly_is_enabled);
85191
85191
  }
85192
85192
  const container = node.parent.kind === 307 /* SourceFile */ ? node.parent : node.parent.parent;
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.8";
2288
- var version = `${versionMajorMinor}.0-dev.20250218`;
2288
+ var version = "5.8.2";
2289
2289
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
2290
2290
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
2291
2291
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -89796,7 +89796,7 @@ function createTypeChecker(host) {
89796
89796
  if (checkGrammarModuleElementContext(node, illegalContextMessage)) {
89797
89797
  return;
89798
89798
  }
89799
- if (compilerOptions.erasableSyntaxOnly && !(node.flags & 33554432 /* Ambient */)) {
89799
+ if (compilerOptions.erasableSyntaxOnly && node.isExportEquals && !(node.flags & 33554432 /* Ambient */)) {
89800
89800
  error2(node, Diagnostics.This_syntax_is_not_allowed_when_erasableSyntaxOnly_is_enabled);
89801
89801
  }
89802
89802
  const container = node.parent.kind === 307 /* SourceFile */ ? node.parent : node.parent.parent;
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.8.0-dev.20250218",
5
+ "version": "5.8.2",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [
@@ -62,7 +62,7 @@
62
62
  "chokidar": "^3.6.0",
63
63
  "diff": "^5.2.0",
64
64
  "dprint": "^0.47.6",
65
- "esbuild": "^0.25.0",
65
+ "esbuild": "^0.24.0",
66
66
  "eslint": "^9.17.0",
67
67
  "eslint-formatter-autolinkable-stylish": "^1.4.0",
68
68
  "eslint-plugin-regexp": "^2.7.0",
@@ -116,5 +116,5 @@
116
116
  "node": "20.1.0",
117
117
  "npm": "8.19.4"
118
118
  },
119
- "gitHead": "0f4737e0d55363ac40198b33a80fff0d01c1d8cf"
119
+ "gitHead": "beb69e4cdd61b1a0fd9ae21ae58bd4bd409d7217"
120
120
  }