mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-07-04 14:56:16 -05:00
Bump version to 5.4.5 and LKG
This commit is contained in:
@@ -18,7 +18,7 @@ and limitations under the License.
|
||||
|
||||
// src/compiler/corePublic.ts
|
||||
var versionMajorMinor = "5.4";
|
||||
var version = "5.4.4";
|
||||
var version = "5.4.5";
|
||||
|
||||
// src/compiler/core.ts
|
||||
var emptyArray = [];
|
||||
@@ -55510,13 +55510,13 @@ function createTypeChecker(host) {
|
||||
}
|
||||
function getUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment) {
|
||||
var _a, _b, _c;
|
||||
let property = ((_a = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name)) || !skipObjectFunctionPropertyAugment ? (_b = type.propertyCache) == null ? void 0 : _b.get(name) : void 0;
|
||||
let property = skipObjectFunctionPropertyAugment ? (_a = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name) : (_b = type.propertyCache) == null ? void 0 : _b.get(name);
|
||||
if (!property) {
|
||||
property = createUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment);
|
||||
if (property) {
|
||||
const properties = skipObjectFunctionPropertyAugment ? type.propertyCacheWithoutObjectFunctionPropertyAugment || (type.propertyCacheWithoutObjectFunctionPropertyAugment = createSymbolTable()) : type.propertyCache || (type.propertyCache = createSymbolTable());
|
||||
properties.set(name, property);
|
||||
if (skipObjectFunctionPropertyAugment && !((_c = type.propertyCache) == null ? void 0 : _c.get(name))) {
|
||||
if (skipObjectFunctionPropertyAugment && !(getCheckFlags(property) & 48 /* Partial */) && !((_c = type.propertyCache) == null ? void 0 : _c.get(name))) {
|
||||
const properties2 = type.propertyCache || (type.propertyCache = createSymbolTable());
|
||||
properties2.set(name, property);
|
||||
}
|
||||
|
||||
@@ -2340,7 +2340,7 @@ module.exports = __toCommonJS(server_exports);
|
||||
|
||||
// src/compiler/corePublic.ts
|
||||
var versionMajorMinor = "5.4";
|
||||
var version = "5.4.4";
|
||||
var version = "5.4.5";
|
||||
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
||||
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
||||
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
||||
@@ -60254,13 +60254,13 @@ function createTypeChecker(host) {
|
||||
}
|
||||
function getUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment) {
|
||||
var _a, _b, _c;
|
||||
let property = ((_a = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name)) || !skipObjectFunctionPropertyAugment ? (_b = type.propertyCache) == null ? void 0 : _b.get(name) : void 0;
|
||||
let property = skipObjectFunctionPropertyAugment ? (_a = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name) : (_b = type.propertyCache) == null ? void 0 : _b.get(name);
|
||||
if (!property) {
|
||||
property = createUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment);
|
||||
if (property) {
|
||||
const properties = skipObjectFunctionPropertyAugment ? type.propertyCacheWithoutObjectFunctionPropertyAugment || (type.propertyCacheWithoutObjectFunctionPropertyAugment = createSymbolTable()) : type.propertyCache || (type.propertyCache = createSymbolTable());
|
||||
properties.set(name, property);
|
||||
if (skipObjectFunctionPropertyAugment && !((_c = type.propertyCache) == null ? void 0 : _c.get(name))) {
|
||||
if (skipObjectFunctionPropertyAugment && !(getCheckFlags(property) & 48 /* Partial */) && !((_c = type.propertyCache) == null ? void 0 : _c.get(name))) {
|
||||
const properties2 = type.propertyCache || (type.propertyCache = createSymbolTable());
|
||||
properties2.set(name, property);
|
||||
}
|
||||
@@ -160459,7 +160459,8 @@ function getCompletionEntriesFromSymbols(symbols, entries, replacementToken, con
|
||||
}
|
||||
function symbolAppearsToBeTypeOnly(symbol) {
|
||||
var _a;
|
||||
return !(symbol.flags & 111551 /* Value */) && (!isInJSFile((_a = symbol.declarations) == null ? void 0 : _a[0]) || !!(symbol.flags & 788968 /* Type */));
|
||||
const flags = getCombinedLocalAndExportSymbolFlags(skipAlias(symbol, typeChecker));
|
||||
return !(flags & 111551 /* Value */) && (!isInJSFile((_a = symbol.declarations) == null ? void 0 : _a[0]) || !!(flags & 788968 /* Type */));
|
||||
}
|
||||
}
|
||||
function getLabelCompletionAtPosition(node) {
|
||||
|
||||
@@ -35,7 +35,7 @@ var ts = (() => {
|
||||
"src/compiler/corePublic.ts"() {
|
||||
"use strict";
|
||||
versionMajorMinor = "5.4";
|
||||
version = "5.4.4";
|
||||
version = "5.4.5";
|
||||
Comparison = /* @__PURE__ */ ((Comparison3) => {
|
||||
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
||||
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
||||
@@ -58009,13 +58009,13 @@ ${lanes.join("\n")}
|
||||
}
|
||||
function getUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment) {
|
||||
var _a, _b, _c;
|
||||
let property = ((_a = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name)) || !skipObjectFunctionPropertyAugment ? (_b = type.propertyCache) == null ? void 0 : _b.get(name) : void 0;
|
||||
let property = skipObjectFunctionPropertyAugment ? (_a = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name) : (_b = type.propertyCache) == null ? void 0 : _b.get(name);
|
||||
if (!property) {
|
||||
property = createUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment);
|
||||
if (property) {
|
||||
const properties = skipObjectFunctionPropertyAugment ? type.propertyCacheWithoutObjectFunctionPropertyAugment || (type.propertyCacheWithoutObjectFunctionPropertyAugment = createSymbolTable()) : type.propertyCache || (type.propertyCache = createSymbolTable());
|
||||
properties.set(name, property);
|
||||
if (skipObjectFunctionPropertyAugment && !((_c = type.propertyCache) == null ? void 0 : _c.get(name))) {
|
||||
if (skipObjectFunctionPropertyAugment && !(getCheckFlags(property) & 48 /* Partial */) && !((_c = type.propertyCache) == null ? void 0 : _c.get(name))) {
|
||||
const properties2 = type.propertyCache || (type.propertyCache = createSymbolTable());
|
||||
properties2.set(name, property);
|
||||
}
|
||||
@@ -159682,7 +159682,8 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
|
||||
}
|
||||
function symbolAppearsToBeTypeOnly(symbol) {
|
||||
var _a;
|
||||
return !(symbol.flags & 111551 /* Value */) && (!isInJSFile((_a = symbol.declarations) == null ? void 0 : _a[0]) || !!(symbol.flags & 788968 /* Type */));
|
||||
const flags = getCombinedLocalAndExportSymbolFlags(skipAlias(symbol, typeChecker));
|
||||
return !(flags & 111551 /* Value */) && (!isInJSFile((_a = symbol.declarations) == null ? void 0 : _a[0]) || !!(flags & 788968 /* Type */));
|
||||
}
|
||||
}
|
||||
function getLabelCompletionAtPosition(node) {
|
||||
|
||||
@@ -54,7 +54,7 @@ var path = __toESM(require("path"));
|
||||
|
||||
// src/compiler/corePublic.ts
|
||||
var versionMajorMinor = "5.4";
|
||||
var version = "5.4.4";
|
||||
var version = "5.4.5";
|
||||
|
||||
// src/compiler/core.ts
|
||||
var emptyArray = [];
|
||||
|
||||
Reference in New Issue
Block a user