typescript 6.0.0-dev.20251208 → 6.0.0-dev.20251210
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 +11 -11
- package/lib/typescript.js +52 -28
- 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 = "6.0";
|
|
21
|
-
var version = `${versionMajorMinor}.0-dev.
|
|
21
|
+
var version = `${versionMajorMinor}.0-dev.20251210`;
|
|
22
22
|
|
|
23
23
|
// src/compiler/core.ts
|
|
24
24
|
var emptyArray = [];
|
|
@@ -40023,7 +40023,7 @@ function resolveTypeReferenceDirective(typeReferenceDirectiveName, containingFil
|
|
|
40023
40023
|
const affectingLocations = [];
|
|
40024
40024
|
let features = getNodeResolutionFeatures(options);
|
|
40025
40025
|
if (resolutionMode !== void 0) {
|
|
40026
|
-
features |=
|
|
40026
|
+
features |= 94 /* AllFeatures */;
|
|
40027
40027
|
}
|
|
40028
40028
|
const moduleResolution = getEmitModuleResolutionKind(options);
|
|
40029
40029
|
if (resolutionMode === 99 /* ESNext */ && (3 /* Node16 */ <= moduleResolution && moduleResolution <= 99 /* NodeNext */)) {
|
|
@@ -40178,10 +40178,10 @@ function getNodeResolutionFeatures(options) {
|
|
|
40178
40178
|
features = 30 /* Node16Default */;
|
|
40179
40179
|
break;
|
|
40180
40180
|
case 99 /* NodeNext */:
|
|
40181
|
-
features =
|
|
40181
|
+
features = 94 /* NodeNextDefault */;
|
|
40182
40182
|
break;
|
|
40183
40183
|
case 100 /* Bundler */:
|
|
40184
|
-
features =
|
|
40184
|
+
features = 94 /* BundlerDefault */;
|
|
40185
40185
|
break;
|
|
40186
40186
|
}
|
|
40187
40187
|
if (options.resolvePackageJsonExports) {
|
|
@@ -40764,7 +40764,7 @@ function node16ModuleNameResolver(moduleName, containingFile, compilerOptions, h
|
|
|
40764
40764
|
}
|
|
40765
40765
|
function nodeNextModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode) {
|
|
40766
40766
|
return nodeNextModuleNameResolverWorker(
|
|
40767
|
-
|
|
40767
|
+
94 /* NodeNextDefault */,
|
|
40768
40768
|
moduleName,
|
|
40769
40769
|
containingFile,
|
|
40770
40770
|
compilerOptions,
|
|
@@ -40843,11 +40843,11 @@ function nodeModuleNameResolver(moduleName, containingFile, compilerOptions, hos
|
|
|
40843
40843
|
} else {
|
|
40844
40844
|
extensions = getResolveJsonModule(compilerOptions) ? 1 /* TypeScript */ | 2 /* JavaScript */ | 4 /* Declaration */ | 8 /* Json */ : 1 /* TypeScript */ | 2 /* JavaScript */ | 4 /* Declaration */;
|
|
40845
40845
|
}
|
|
40846
|
-
return nodeModuleNameResolverWorker(conditions ?
|
|
40846
|
+
return nodeModuleNameResolverWorker(conditions ? 94 /* AllFeatures */ : 0 /* None */, moduleName, getDirectoryPath(containingFile), compilerOptions, host, cache, extensions, !!isConfigLookup, redirectedReference, conditions);
|
|
40847
40847
|
}
|
|
40848
40848
|
function nodeNextJsonConfigResolver(moduleName, containingFile, host) {
|
|
40849
40849
|
return nodeModuleNameResolverWorker(
|
|
40850
|
-
|
|
40850
|
+
94 /* NodeNextDefault */,
|
|
40851
40851
|
moduleName,
|
|
40852
40852
|
getDirectoryPath(containingFile),
|
|
40853
40853
|
{ moduleResolution: 99 /* NodeNext */ },
|
|
@@ -40920,7 +40920,7 @@ function nodeModuleNameResolverWorker(features, moduleName, containingDirectory,
|
|
|
40920
40920
|
const diagnosticState = {
|
|
40921
40921
|
...state,
|
|
40922
40922
|
compilerOptions: diagnosticsCompilerOptions,
|
|
40923
|
-
features:
|
|
40923
|
+
features: 94 /* BundlerDefault */,
|
|
40924
40924
|
conditions: getConditions(diagnosticsCompilerOptions),
|
|
40925
40925
|
reportDiagnostic: noop
|
|
40926
40926
|
};
|
|
@@ -41456,7 +41456,7 @@ function loadModuleFromExports(scope, extensions, subpath, state, cache, redirec
|
|
|
41456
41456
|
}
|
|
41457
41457
|
function loadModuleFromImports(extensions, moduleName, directory, state, cache, redirectedReference) {
|
|
41458
41458
|
var _a, _b;
|
|
41459
|
-
if (moduleName === "#" || startsWith(moduleName, "#/")) {
|
|
41459
|
+
if (moduleName === "#" || startsWith(moduleName, "#/") && !(state.features & 64 /* ImportsPatternRoot */)) {
|
|
41460
41460
|
if (state.traceEnabled) {
|
|
41461
41461
|
trace(state.host, Diagnostics.Invalid_import_specifier_0_has_no_possible_resolutions, moduleName);
|
|
41462
41462
|
}
|
|
@@ -46585,7 +46585,7 @@ function createTypeChecker(host) {
|
|
|
46585
46585
|
if (!node) {
|
|
46586
46586
|
return void 0;
|
|
46587
46587
|
}
|
|
46588
|
-
if (contextFlags & 4 /*
|
|
46588
|
+
if (contextFlags & 4 /* IgnoreNodeInferences */) {
|
|
46589
46589
|
return runWithInferenceBlockedFromSourceNode(node, () => getContextualType(node, contextFlags));
|
|
46590
46590
|
}
|
|
46591
46591
|
return getContextualType(node, contextFlags);
|
|
@@ -73462,7 +73462,7 @@ function createTypeChecker(host) {
|
|
|
73462
73462
|
), getNameFromImportAttribute(node));
|
|
73463
73463
|
}
|
|
73464
73464
|
function getContextualJsxElementAttributesType(node, contextFlags) {
|
|
73465
|
-
if (isJsxOpeningElement(node) && contextFlags !== 4 /*
|
|
73465
|
+
if (isJsxOpeningElement(node) && contextFlags !== 4 /* IgnoreNodeInferences */) {
|
|
73466
73466
|
const index = findContextualNode(
|
|
73467
73467
|
node.parent,
|
|
73468
73468
|
/*includeCaches*/
|
package/lib/typescript.js
CHANGED
|
@@ -2286,7 +2286,7 @@ module.exports = __toCommonJS(typescript_exports);
|
|
|
2286
2286
|
|
|
2287
2287
|
// src/compiler/corePublic.ts
|
|
2288
2288
|
var versionMajorMinor = "6.0";
|
|
2289
|
-
var version = `${versionMajorMinor}.0-dev.
|
|
2289
|
+
var version = `${versionMajorMinor}.0-dev.20251210`;
|
|
2290
2290
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
2291
2291
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
2292
2292
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -6169,7 +6169,7 @@ var ContextFlags = /* @__PURE__ */ ((ContextFlags3) => {
|
|
|
6169
6169
|
ContextFlags3[ContextFlags3["None"] = 0] = "None";
|
|
6170
6170
|
ContextFlags3[ContextFlags3["Signature"] = 1] = "Signature";
|
|
6171
6171
|
ContextFlags3[ContextFlags3["NoConstraints"] = 2] = "NoConstraints";
|
|
6172
|
-
ContextFlags3[ContextFlags3["
|
|
6172
|
+
ContextFlags3[ContextFlags3["IgnoreNodeInferences"] = 4] = "IgnoreNodeInferences";
|
|
6173
6173
|
ContextFlags3[ContextFlags3["SkipBindingPatterns"] = 8] = "SkipBindingPatterns";
|
|
6174
6174
|
return ContextFlags3;
|
|
6175
6175
|
})(ContextFlags || {});
|
|
@@ -44381,7 +44381,7 @@ function resolveTypeReferenceDirective(typeReferenceDirectiveName, containingFil
|
|
|
44381
44381
|
const affectingLocations = [];
|
|
44382
44382
|
let features = getNodeResolutionFeatures(options);
|
|
44383
44383
|
if (resolutionMode !== void 0) {
|
|
44384
|
-
features |=
|
|
44384
|
+
features |= 94 /* AllFeatures */;
|
|
44385
44385
|
}
|
|
44386
44386
|
const moduleResolution = getEmitModuleResolutionKind(options);
|
|
44387
44387
|
if (resolutionMode === 99 /* ESNext */ && (3 /* Node16 */ <= moduleResolution && moduleResolution <= 99 /* NodeNext */)) {
|
|
@@ -44536,10 +44536,10 @@ function getNodeResolutionFeatures(options) {
|
|
|
44536
44536
|
features = 30 /* Node16Default */;
|
|
44537
44537
|
break;
|
|
44538
44538
|
case 99 /* NodeNext */:
|
|
44539
|
-
features =
|
|
44539
|
+
features = 94 /* NodeNextDefault */;
|
|
44540
44540
|
break;
|
|
44541
44541
|
case 100 /* Bundler */:
|
|
44542
|
-
features =
|
|
44542
|
+
features = 94 /* BundlerDefault */;
|
|
44543
44543
|
break;
|
|
44544
44544
|
}
|
|
44545
44545
|
if (options.resolvePackageJsonExports) {
|
|
@@ -45139,10 +45139,11 @@ var NodeResolutionFeatures = /* @__PURE__ */ ((NodeResolutionFeatures2) => {
|
|
|
45139
45139
|
NodeResolutionFeatures2[NodeResolutionFeatures2["SelfName"] = 4] = "SelfName";
|
|
45140
45140
|
NodeResolutionFeatures2[NodeResolutionFeatures2["Exports"] = 8] = "Exports";
|
|
45141
45141
|
NodeResolutionFeatures2[NodeResolutionFeatures2["ExportsPatternTrailers"] = 16] = "ExportsPatternTrailers";
|
|
45142
|
-
NodeResolutionFeatures2[NodeResolutionFeatures2["
|
|
45142
|
+
NodeResolutionFeatures2[NodeResolutionFeatures2["ImportsPatternRoot"] = 64] = "ImportsPatternRoot";
|
|
45143
|
+
NodeResolutionFeatures2[NodeResolutionFeatures2["AllFeatures"] = 94] = "AllFeatures";
|
|
45143
45144
|
NodeResolutionFeatures2[NodeResolutionFeatures2["Node16Default"] = 30] = "Node16Default";
|
|
45144
|
-
NodeResolutionFeatures2[NodeResolutionFeatures2["NodeNextDefault"] =
|
|
45145
|
-
NodeResolutionFeatures2[NodeResolutionFeatures2["BundlerDefault"] =
|
|
45145
|
+
NodeResolutionFeatures2[NodeResolutionFeatures2["NodeNextDefault"] = 94 /* AllFeatures */] = "NodeNextDefault";
|
|
45146
|
+
NodeResolutionFeatures2[NodeResolutionFeatures2["BundlerDefault"] = 94] = "BundlerDefault";
|
|
45146
45147
|
NodeResolutionFeatures2[NodeResolutionFeatures2["EsmMode"] = 32] = "EsmMode";
|
|
45147
45148
|
return NodeResolutionFeatures2;
|
|
45148
45149
|
})(NodeResolutionFeatures || {});
|
|
@@ -45160,7 +45161,7 @@ function node16ModuleNameResolver(moduleName, containingFile, compilerOptions, h
|
|
|
45160
45161
|
}
|
|
45161
45162
|
function nodeNextModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode) {
|
|
45162
45163
|
return nodeNextModuleNameResolverWorker(
|
|
45163
|
-
|
|
45164
|
+
94 /* NodeNextDefault */,
|
|
45164
45165
|
moduleName,
|
|
45165
45166
|
containingFile,
|
|
45166
45167
|
compilerOptions,
|
|
@@ -45239,11 +45240,11 @@ function nodeModuleNameResolver(moduleName, containingFile, compilerOptions, hos
|
|
|
45239
45240
|
} else {
|
|
45240
45241
|
extensions = getResolveJsonModule(compilerOptions) ? 1 /* TypeScript */ | 2 /* JavaScript */ | 4 /* Declaration */ | 8 /* Json */ : 1 /* TypeScript */ | 2 /* JavaScript */ | 4 /* Declaration */;
|
|
45241
45242
|
}
|
|
45242
|
-
return nodeModuleNameResolverWorker(conditions ?
|
|
45243
|
+
return nodeModuleNameResolverWorker(conditions ? 94 /* AllFeatures */ : 0 /* None */, moduleName, getDirectoryPath(containingFile), compilerOptions, host, cache, extensions, !!isConfigLookup, redirectedReference, conditions);
|
|
45243
45244
|
}
|
|
45244
45245
|
function nodeNextJsonConfigResolver(moduleName, containingFile, host) {
|
|
45245
45246
|
return nodeModuleNameResolverWorker(
|
|
45246
|
-
|
|
45247
|
+
94 /* NodeNextDefault */,
|
|
45247
45248
|
moduleName,
|
|
45248
45249
|
getDirectoryPath(containingFile),
|
|
45249
45250
|
{ moduleResolution: 99 /* NodeNext */ },
|
|
@@ -45316,7 +45317,7 @@ function nodeModuleNameResolverWorker(features, moduleName, containingDirectory,
|
|
|
45316
45317
|
const diagnosticState = {
|
|
45317
45318
|
...state,
|
|
45318
45319
|
compilerOptions: diagnosticsCompilerOptions,
|
|
45319
|
-
features:
|
|
45320
|
+
features: 94 /* BundlerDefault */,
|
|
45320
45321
|
conditions: getConditions(diagnosticsCompilerOptions),
|
|
45321
45322
|
reportDiagnostic: noop
|
|
45322
45323
|
};
|
|
@@ -45966,7 +45967,7 @@ function loadModuleFromExports(scope, extensions, subpath, state, cache, redirec
|
|
|
45966
45967
|
}
|
|
45967
45968
|
function loadModuleFromImports(extensions, moduleName, directory, state, cache, redirectedReference) {
|
|
45968
45969
|
var _a, _b;
|
|
45969
|
-
if (moduleName === "#" || startsWith(moduleName, "#/")) {
|
|
45970
|
+
if (moduleName === "#" || startsWith(moduleName, "#/") && !(state.features & 64 /* ImportsPatternRoot */)) {
|
|
45970
45971
|
if (state.traceEnabled) {
|
|
45971
45972
|
trace(state.host, Diagnostics.Invalid_import_specifier_0_has_no_possible_resolutions, moduleName);
|
|
45972
45973
|
}
|
|
@@ -51213,7 +51214,7 @@ function createTypeChecker(host) {
|
|
|
51213
51214
|
if (!node) {
|
|
51214
51215
|
return void 0;
|
|
51215
51216
|
}
|
|
51216
|
-
if (contextFlags & 4 /*
|
|
51217
|
+
if (contextFlags & 4 /* IgnoreNodeInferences */) {
|
|
51217
51218
|
return runWithInferenceBlockedFromSourceNode(node, () => getContextualType2(node, contextFlags));
|
|
51218
51219
|
}
|
|
51219
51220
|
return getContextualType2(node, contextFlags);
|
|
@@ -78090,7 +78091,7 @@ function createTypeChecker(host) {
|
|
|
78090
78091
|
), getNameFromImportAttribute(node));
|
|
78091
78092
|
}
|
|
78092
78093
|
function getContextualJsxElementAttributesType(node, contextFlags) {
|
|
78093
|
-
if (isJsxOpeningElement(node) && contextFlags !== 4 /*
|
|
78094
|
+
if (isJsxOpeningElement(node) && contextFlags !== 4 /* IgnoreNodeInferences */) {
|
|
78094
78095
|
const index = findContextualNode(
|
|
78095
78096
|
node.parent,
|
|
78096
78097
|
/*includeCaches*/
|
|
@@ -168924,7 +168925,7 @@ function getContextualType(previousToken, position, sourceFile, checker) {
|
|
|
168924
168925
|
return argInfo ? checker.getContextualTypeForArgumentAtIndex(argInfo.invocation, argInfo.argumentIndex) : isEqualityOperatorKind(previousToken.kind) && isBinaryExpression(parent2) && isEqualityOperatorKind(parent2.operatorToken.kind) ? (
|
|
168925
168926
|
// completion at `x ===/**/` should be for the right side
|
|
168926
168927
|
checker.getTypeAtLocation(parent2.left)
|
|
168927
|
-
) : checker.getContextualType(previousToken, 4 /*
|
|
168928
|
+
) : checker.getContextualType(previousToken, 4 /* IgnoreNodeInferences */) || checker.getContextualType(previousToken);
|
|
168928
168929
|
}
|
|
168929
168930
|
}
|
|
168930
168931
|
function getFirstSymbolInChain(symbol, enclosingDeclaration, checker) {
|
|
@@ -169429,7 +169430,7 @@ function getCompletionData(program, log, sourceFile, compilerOptions, position,
|
|
|
169429
169430
|
const jsxContainer = tryGetContainingJsxElement(contextToken);
|
|
169430
169431
|
const attrsType = jsxContainer && typeChecker.getContextualType(jsxContainer.attributes);
|
|
169431
169432
|
if (!attrsType) return 0 /* Continue */;
|
|
169432
|
-
const completionsType = jsxContainer && typeChecker.getContextualType(jsxContainer.attributes, 4 /*
|
|
169433
|
+
const completionsType = jsxContainer && typeChecker.getContextualType(jsxContainer.attributes, 4 /* IgnoreNodeInferences */);
|
|
169433
169434
|
symbols = concatenate(symbols, filterJsxAttributes(getPropertiesForObjectExpression(attrsType, completionsType, jsxContainer.attributes, typeChecker), jsxContainer.attributes.properties));
|
|
169434
169435
|
setSortTextToOptionalMember();
|
|
169435
169436
|
completionKind = 3 /* MemberLike */;
|
|
@@ -169856,7 +169857,7 @@ function getCompletionData(program, log, sourceFile, compilerOptions, position,
|
|
|
169856
169857
|
}
|
|
169857
169858
|
return 0 /* Continue */;
|
|
169858
169859
|
}
|
|
169859
|
-
const completionsType = typeChecker.getContextualType(objectLikeContainer, 4 /*
|
|
169860
|
+
const completionsType = typeChecker.getContextualType(objectLikeContainer, 4 /* IgnoreNodeInferences */);
|
|
169860
169861
|
const hasStringIndexType = (completionsType || instantiatedType).getStringIndexType();
|
|
169861
169862
|
const hasNumberIndextype = (completionsType || instantiatedType).getNumberIndexType();
|
|
169862
169863
|
isNewIdentifierLocation = !!hasStringIndexType || !!hasNumberIndextype;
|
|
@@ -171153,7 +171154,15 @@ function getStringLiteralCompletionEntries(sourceFile, node, position, program,
|
|
|
171153
171154
|
if (isObjectLiteralExpression(parent2.parent) && parent2.name === node) {
|
|
171154
171155
|
return stringLiteralCompletionsForObjectLiteral(typeChecker, parent2.parent);
|
|
171155
171156
|
}
|
|
171156
|
-
|
|
171157
|
+
if (findAncestor(parent2.parent, isCallLikeExpression)) {
|
|
171158
|
+
const uniques2 = /* @__PURE__ */ new Set();
|
|
171159
|
+
const stringLiteralTypes = concatenate(
|
|
171160
|
+
getStringLiteralTypes(typeChecker.getContextualType(node, 0 /* None */), uniques2),
|
|
171161
|
+
getStringLiteralTypes(typeChecker.getContextualType(node, 4 /* IgnoreNodeInferences */), uniques2)
|
|
171162
|
+
);
|
|
171163
|
+
return toStringLiteralCompletionsFromTypes(stringLiteralTypes);
|
|
171164
|
+
}
|
|
171165
|
+
return fromContextualType(0 /* None */);
|
|
171157
171166
|
case 213 /* ElementAccessExpression */: {
|
|
171158
171167
|
const { expression, argumentExpression } = parent2;
|
|
171159
171168
|
if (node === skipParentheses(argumentExpression)) {
|
|
@@ -171249,14 +171258,13 @@ function getStringLiteralCompletionEntries(sourceFile, node, position, program,
|
|
|
171249
171258
|
return void 0;
|
|
171250
171259
|
}
|
|
171251
171260
|
}
|
|
171252
|
-
function fromContextualType(contextFlags = 4 /*
|
|
171253
|
-
|
|
171254
|
-
if (!types.length) {
|
|
171255
|
-
return;
|
|
171256
|
-
}
|
|
171257
|
-
return { kind: 2 /* Types */, types, isNewIdentifier: false };
|
|
171261
|
+
function fromContextualType(contextFlags = 4 /* IgnoreNodeInferences */) {
|
|
171262
|
+
return toStringLiteralCompletionsFromTypes(getStringLiteralTypes(getContextualTypeFromParent(node, typeChecker, contextFlags)));
|
|
171258
171263
|
}
|
|
171259
171264
|
}
|
|
171265
|
+
function toStringLiteralCompletionsFromTypes(types) {
|
|
171266
|
+
return types.length ? { kind: 2 /* Types */, types, isNewIdentifier: false } : void 0;
|
|
171267
|
+
}
|
|
171260
171268
|
function walkUpParentheses(node) {
|
|
171261
171269
|
switch (node.kind) {
|
|
171262
171270
|
case 197 /* ParenthesizedType */:
|
|
@@ -171299,7 +171307,7 @@ function stringLiteralCompletionsFromProperties(type) {
|
|
|
171299
171307
|
function stringLiteralCompletionsForObjectLiteral(checker, objectLiteralExpression) {
|
|
171300
171308
|
const contextualType = checker.getContextualType(objectLiteralExpression);
|
|
171301
171309
|
if (!contextualType) return void 0;
|
|
171302
|
-
const completionsType = checker.getContextualType(objectLiteralExpression, 4 /*
|
|
171310
|
+
const completionsType = checker.getContextualType(objectLiteralExpression, 4 /* IgnoreNodeInferences */);
|
|
171303
171311
|
const symbols = getPropertiesForObjectExpression(
|
|
171304
171312
|
contextualType,
|
|
171305
171313
|
completionsType,
|
|
@@ -174594,13 +174602,29 @@ function getDefinitionFromObjectLiteralElement(typeChecker, node) {
|
|
|
174594
174602
|
if (element) {
|
|
174595
174603
|
const contextualType = element && typeChecker.getContextualType(element.parent);
|
|
174596
174604
|
if (contextualType) {
|
|
174597
|
-
|
|
174605
|
+
let properties = getPropertySymbolsFromContextualType(
|
|
174598
174606
|
element,
|
|
174599
174607
|
typeChecker,
|
|
174600
174608
|
contextualType,
|
|
174601
174609
|
/*unionSymbolOk*/
|
|
174602
174610
|
false
|
|
174603
|
-
)
|
|
174611
|
+
);
|
|
174612
|
+
if (some(properties, (p) => !!(p.valueDeclaration && isObjectLiteralExpression(p.valueDeclaration.parent) && isObjectLiteralElementLike(p.valueDeclaration) && p.valueDeclaration.name === node))) {
|
|
174613
|
+
const withoutNodeInferencesType = typeChecker.getContextualType(element.parent, 4 /* IgnoreNodeInferences */);
|
|
174614
|
+
if (withoutNodeInferencesType) {
|
|
174615
|
+
const withoutNodeInferencesProperties = getPropertySymbolsFromContextualType(
|
|
174616
|
+
element,
|
|
174617
|
+
typeChecker,
|
|
174618
|
+
withoutNodeInferencesType,
|
|
174619
|
+
/*unionSymbolOk*/
|
|
174620
|
+
false
|
|
174621
|
+
);
|
|
174622
|
+
if (withoutNodeInferencesProperties.length) {
|
|
174623
|
+
properties = withoutNodeInferencesProperties;
|
|
174624
|
+
}
|
|
174625
|
+
}
|
|
174626
|
+
}
|
|
174627
|
+
return flatMap(properties, (propertySymbol) => getDefinitionFromSymbol(typeChecker, propertySymbol, node));
|
|
174604
174628
|
}
|
|
174605
174629
|
}
|
|
174606
174630
|
return emptyArray;
|
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": "6.0.0-dev.
|
|
5
|
+
"version": "6.0.0-dev.20251210",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|
|
@@ -115,5 +115,5 @@
|
|
|
115
115
|
"node": "20.1.0",
|
|
116
116
|
"npm": "8.19.4"
|
|
117
117
|
},
|
|
118
|
-
"gitHead": "
|
|
118
|
+
"gitHead": "1da8266179589bbc977ccbd8712614ed5ddd3004"
|
|
119
119
|
}
|