Tsserver plugin question #40872
Labels
Question
An issue which isn't directly actionable in code
Rescheduled
This issue was previously scheduled to an earlier milestone
Milestone
https://github.com/denoland/vscode_deno/blob/ddfe30c5907324b623be0a9d20f1c1dc011e13fa/typescript-deno-plugin/src/plugin.ts#L491
We proxy the
languageServiceHost.resolveModuleNames
method and replace the import path to let ts import the d.ts file instead of the original js file. but there is a problem that when you open the file for the first time, it does not work until you type something(change the file). I'm wondering how to refresh the cache so that you don't need to change the file in order to make it work?here is what i've been tried
you need to change the file in order to make it work
here is the problem screencapture
denoland/vscode_deno#97
The text was updated successfully, but these errors were encountered: