mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-15 21:32:45 -05:00
Bump version to 5.8.2 and LKG
This commit is contained in:
10
lib/_tsc.js
10
lib/_tsc.js
@@ -18,7 +18,7 @@ and limitations under the License.
|
||||
|
||||
// src/compiler/corePublic.ts
|
||||
var versionMajorMinor = "5.8";
|
||||
var version = "5.8.1-rc";
|
||||
var version = "5.8.2";
|
||||
|
||||
// src/compiler/core.ts
|
||||
var emptyArray = [];
|
||||
@@ -85063,11 +85063,10 @@ function createTypeChecker(host) {
|
||||
return;
|
||||
}
|
||||
checkGrammarModifiers(node);
|
||||
const isImportEquals = isInternalModuleImportEqualsDeclaration(node);
|
||||
if (compilerOptions.erasableSyntaxOnly && isImportEquals && !(node.flags & 33554432 /* Ambient */)) {
|
||||
if (compilerOptions.erasableSyntaxOnly && !(node.flags & 33554432 /* Ambient */)) {
|
||||
error(node, Diagnostics.This_syntax_is_not_allowed_when_erasableSyntaxOnly_is_enabled);
|
||||
}
|
||||
if (isImportEquals || checkExternalImportOrExportDeclaration(node)) {
|
||||
if (isInternalModuleImportEqualsDeclaration(node) || checkExternalImportOrExportDeclaration(node)) {
|
||||
checkImportBinding(node);
|
||||
markLinkedReferences(node, 6 /* ExportImportEquals */);
|
||||
if (node.moduleReference.kind !== 283 /* ExternalModuleReference */) {
|
||||
@@ -85187,6 +85186,9 @@ function createTypeChecker(host) {
|
||||
if (checkGrammarModuleElementContext(node, illegalContextMessage)) {
|
||||
return;
|
||||
}
|
||||
if (compilerOptions.erasableSyntaxOnly && node.isExportEquals && !(node.flags & 33554432 /* Ambient */)) {
|
||||
error(node, Diagnostics.This_syntax_is_not_allowed_when_erasableSyntaxOnly_is_enabled);
|
||||
}
|
||||
const container = node.parent.kind === 307 /* SourceFile */ ? node.parent : node.parent.parent;
|
||||
if (container.kind === 267 /* ModuleDeclaration */ && !isAmbientModule(container)) {
|
||||
if (node.isExportEquals) {
|
||||
|
||||
@@ -2285,7 +2285,7 @@ module.exports = __toCommonJS(typescript_exports);
|
||||
|
||||
// src/compiler/corePublic.ts
|
||||
var versionMajorMinor = "5.8";
|
||||
var version = "5.8.1-rc";
|
||||
var version = "5.8.2";
|
||||
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
||||
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
||||
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
||||
@@ -89673,11 +89673,10 @@ function createTypeChecker(host) {
|
||||
return;
|
||||
}
|
||||
checkGrammarModifiers(node);
|
||||
const isImportEquals = isInternalModuleImportEqualsDeclaration(node);
|
||||
if (compilerOptions.erasableSyntaxOnly && isImportEquals && !(node.flags & 33554432 /* Ambient */)) {
|
||||
if (compilerOptions.erasableSyntaxOnly && !(node.flags & 33554432 /* Ambient */)) {
|
||||
error2(node, Diagnostics.This_syntax_is_not_allowed_when_erasableSyntaxOnly_is_enabled);
|
||||
}
|
||||
if (isImportEquals || checkExternalImportOrExportDeclaration(node)) {
|
||||
if (isInternalModuleImportEqualsDeclaration(node) || checkExternalImportOrExportDeclaration(node)) {
|
||||
checkImportBinding(node);
|
||||
markLinkedReferences(node, 6 /* ExportImportEquals */);
|
||||
if (node.moduleReference.kind !== 283 /* ExternalModuleReference */) {
|
||||
@@ -89797,6 +89796,9 @@ function createTypeChecker(host) {
|
||||
if (checkGrammarModuleElementContext(node, illegalContextMessage)) {
|
||||
return;
|
||||
}
|
||||
if (compilerOptions.erasableSyntaxOnly && node.isExportEquals && !(node.flags & 33554432 /* Ambient */)) {
|
||||
error2(node, Diagnostics.This_syntax_is_not_allowed_when_erasableSyntaxOnly_is_enabled);
|
||||
}
|
||||
const container = node.parent.kind === 307 /* SourceFile */ ? node.parent : node.parent.parent;
|
||||
if (container.kind === 267 /* ModuleDeclaration */ && !isAmbientModule(container)) {
|
||||
if (node.isExportEquals) {
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "typescript",
|
||||
"version": "5.8.1-rc",
|
||||
"version": "5.8.2",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "typescript",
|
||||
"version": "5.8.1-rc",
|
||||
"version": "5.8.2",
|
||||
"license": "Apache-2.0",
|
||||
"bin": {
|
||||
"tsc": "bin/tsc",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"name": "typescript",
|
||||
"author": "Microsoft Corp.",
|
||||
"homepage": "https://www.typescriptlang.org/",
|
||||
"version": "5.8.1-rc",
|
||||
"version": "5.8.2",
|
||||
"license": "Apache-2.0",
|
||||
"description": "TypeScript is a language for application scale JavaScript development",
|
||||
"keywords": [
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
export const versionMajorMinor = "5.8";
|
||||
// The following is baselined as a literal template type without intervention
|
||||
/** The version of the TypeScript compiler release */
|
||||
export const version = "5.8.1-rc" as string;
|
||||
export const version = "5.8.2" as string;
|
||||
|
||||
/**
|
||||
* Type of objects whose values are all of the same type.
|
||||
|
||||
Reference in New Issue
Block a user