Skip to content

Commit

Permalink
fix: update
Browse files Browse the repository at this point in the history
  • Loading branch information
zcf0508 committed Apr 30, 2024
1 parent 4969d9b commit 3bc0e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/typescript-plugin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function createLanguageServicePlugin(): ts.server.PluginModuleFactory {
const timer = setInterval(() => {
if (info.project['program']) {
clearInterval(timer);
(info.project['program'] as any).__volar__ = { files };
(info.project['program'] as any).__volar__ = { language };
}
}, 50);
}
Expand Down

0 comments on commit 3bc0e38

Please sign in to comment.