Skip to content

Commit c8241b6

Browse files
committed
fix bug
1 parent 3972e28 commit c8241b6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1100,7 +1100,10 @@ export function createFromPreloadedConfig(
11001100
const normalizedFileName = normalizeSlashes(fileName);
11011101
updateMemoryCache(code, normalizedFileName);
11021102

1103-
const info = service.getQuickInfoAtPosition(normalizedFileName, position);
1103+
const info = service.getQuickInfoAtPosition(
1104+
normalizedFileName,
1105+
position
1106+
);
11041107
const name = ts.displayPartsToString(info ? info.displayParts : []);
11051108
const comment = ts.displayPartsToString(info ? info.documentation : []);
11061109

0 commit comments

Comments
 (0)