typescript 5.9.0-dev.20250401 → 5.9.0-dev.20250403
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 +1 -1
- package/lib/typescript.js +12 -4
- package/package.json +2 -2
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.
|
21
|
+
var version = `${versionMajorMinor}.0-dev.20250403`;
|
22
22
|
|
23
23
|
// src/compiler/core.ts
|
24
24
|
var emptyArray = [];
|
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.
|
2288
|
+
var version = `${versionMajorMinor}.0-dev.20250403`;
|
2289
2289
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
2290
2290
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
2291
2291
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
@@ -167514,8 +167514,13 @@ function getCompletionEntriesFromSymbols(symbols, entries, replacementToken, con
|
|
167514
167514
|
if (isExportAssignment(location.parent)) {
|
167515
167515
|
return true;
|
167516
167516
|
}
|
167517
|
-
if (tryCast(closestSymbolDeclaration, isVariableDeclaration)
|
167518
|
-
|
167517
|
+
if (closestSymbolDeclaration && tryCast(closestSymbolDeclaration, isVariableDeclaration)) {
|
167518
|
+
if (symbol.valueDeclaration === closestSymbolDeclaration) {
|
167519
|
+
return false;
|
167520
|
+
}
|
167521
|
+
if (isBindingPattern(closestSymbolDeclaration.name) && closestSymbolDeclaration.name.elements.some((e) => e === symbol.valueDeclaration)) {
|
167522
|
+
return false;
|
167523
|
+
}
|
167519
167524
|
}
|
167520
167525
|
const symbolDeclaration = symbol.valueDeclaration ?? ((_a = symbol.declarations) == null ? void 0 : _a[0]);
|
167521
167526
|
if (closestSymbolDeclaration && symbolDeclaration) {
|
@@ -177384,7 +177389,10 @@ function getSymbolDisplayPartsDocumentationAndSymbolKindWorker(typeChecker, symb
|
|
177384
177389
|
}
|
177385
177390
|
if (symbolKind !== "" /* unknown */ || symbolFlags & 32 /* Class */ || symbolFlags & 2097152 /* Alias */) {
|
177386
177391
|
if (symbolKind === "getter" /* memberGetAccessorElement */ || symbolKind === "setter" /* memberSetAccessorElement */) {
|
177387
|
-
const declaration = find(
|
177392
|
+
const declaration = find(
|
177393
|
+
symbol.declarations,
|
177394
|
+
(declaration2) => declaration2.name === location && declaration2.kind !== 211 /* PropertyAccessExpression */
|
177395
|
+
);
|
177388
177396
|
if (declaration) {
|
177389
177397
|
switch (declaration.kind) {
|
177390
177398
|
case 177 /* GetAccessor */:
|
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.
|
5
|
+
"version": "5.9.0-dev.20250403",
|
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": "
|
119
|
+
"gitHead": "ba663f6ac25ec7774b38a3fad04fe8ea016f9420"
|
120
120
|
}
|