We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afc069e commit 601176eCopy full SHA for 601176e
1 file changed
packages/typescript-plugin/lib/common.ts
@@ -30,7 +30,7 @@ export function preprocessLanguageService(
30
31
languageService.getQuickInfoAtPosition = (fileName, position, ...rests) => {
32
const result = getQuickInfoAtPosition(fileName, position, ...rests);
33
- if (!result) {
+ if (!result || result.tags?.length) {
34
return result;
35
}
36
const language = getLanguage();
@@ -69,10 +69,7 @@ export function preprocessLanguageService(
69
);
70
if (codegen?.getSetupExposed().has(variableName)) {
71
const extraInfo = getQuickInfoAtPosition(fileName, generateRange2[0], ...rests);
72
- if (extraInfo) {
73
- result.tags ??= [];
74
- result.tags.push(...extraInfo.tags ?? []);
75
- }
+ result.tags = extraInfo?.tags;
76
77
78
0 commit comments