Skip to content

Commit 3271a1c

Browse files
Update LKG.
1 parent 5a0a671 commit 3271a1c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/tsserver.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -103138,7 +103138,7 @@ var ts;
103138103138
if (resolvedModuleSymbol !== moduleSymbol &&
103139103139
// Don't add another completion for `export =` of a symbol that's already global.
103140103140
// So in `declare namespace foo {} declare module "foo" { export = foo; }`, there will just be the global completion for `foo`.
103141-
ts.some(resolvedModuleSymbol.declarations, function (d) { return !!d.getSourceFile().externalModuleIndicator; })) {
103141+
ts.every(resolvedModuleSymbol.declarations, function (d) { return !!d.getSourceFile().externalModuleIndicator; })) {
103142103142
symbols.push(resolvedModuleSymbol);
103143103143
symbolToSortTextMap[ts.getSymbolId(resolvedModuleSymbol)] = SortText.AutoImportSuggestions;
103144103144
symbolToOriginInfoMap[ts.getSymbolId(resolvedModuleSymbol)] = { kind: 3 /* Export */, moduleSymbol: moduleSymbol, isDefaultExport: false };

lib/tsserverlibrary.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -103501,7 +103501,7 @@ var ts;
103501103501
if (resolvedModuleSymbol !== moduleSymbol &&
103502103502
// Don't add another completion for `export =` of a symbol that's already global.
103503103503
// So in `declare namespace foo {} declare module "foo" { export = foo; }`, there will just be the global completion for `foo`.
103504-
ts.some(resolvedModuleSymbol.declarations, function (d) { return !!d.getSourceFile().externalModuleIndicator; })) {
103504+
ts.every(resolvedModuleSymbol.declarations, function (d) { return !!d.getSourceFile().externalModuleIndicator; })) {
103505103505
symbols.push(resolvedModuleSymbol);
103506103506
symbolToSortTextMap[ts.getSymbolId(resolvedModuleSymbol)] = SortText.AutoImportSuggestions;
103507103507
symbolToOriginInfoMap[ts.getSymbolId(resolvedModuleSymbol)] = { kind: 3 /* Export */, moduleSymbol: moduleSymbol, isDefaultExport: false };

lib/typescript.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -103490,7 +103490,7 @@ var ts;
103490103490
if (resolvedModuleSymbol !== moduleSymbol &&
103491103491
// Don't add another completion for `export =` of a symbol that's already global.
103492103492
// So in `declare namespace foo {} declare module "foo" { export = foo; }`, there will just be the global completion for `foo`.
103493-
ts.some(resolvedModuleSymbol.declarations, function (d) { return !!d.getSourceFile().externalModuleIndicator; })) {
103493+
ts.every(resolvedModuleSymbol.declarations, function (d) { return !!d.getSourceFile().externalModuleIndicator; })) {
103494103494
symbols.push(resolvedModuleSymbol);
103495103495
symbolToSortTextMap[ts.getSymbolId(resolvedModuleSymbol)] = SortText.AutoImportSuggestions;
103496103496
symbolToOriginInfoMap[ts.getSymbolId(resolvedModuleSymbol)] = { kind: 3 /* Export */, moduleSymbol: moduleSymbol, isDefaultExport: false };

lib/typescriptServices.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -103490,7 +103490,7 @@ var ts;
103490103490
if (resolvedModuleSymbol !== moduleSymbol &&
103491103491
// Don't add another completion for `export =` of a symbol that's already global.
103492103492
// So in `declare namespace foo {} declare module "foo" { export = foo; }`, there will just be the global completion for `foo`.
103493-
ts.some(resolvedModuleSymbol.declarations, function (d) { return !!d.getSourceFile().externalModuleIndicator; })) {
103493+
ts.every(resolvedModuleSymbol.declarations, function (d) { return !!d.getSourceFile().externalModuleIndicator; })) {
103494103494
symbols.push(resolvedModuleSymbol);
103495103495
symbolToSortTextMap[ts.getSymbolId(resolvedModuleSymbol)] = SortText.AutoImportSuggestions;
103496103496
symbolToOriginInfoMap[ts.getSymbolId(resolvedModuleSymbol)] = { kind: 3 /* Export */, moduleSymbol: moduleSymbol, isDefaultExport: false };

0 commit comments

Comments
 (0)