Local imports are missing .ts extension
cryptogohan opened this issue · comments
Crypto Gohan commented
This plugin is mostly doing pretty incredible, I've been having a small issue with imports the past few weeks.
Given two files:
dep.ts
export const age = 28;
and main.ts
console.log(age);
The LSP gives a helpful action to import when triggered on the age word:
However, this is missing the .ts
extension as should be added with Deno, which results in an error when importing.
Should this be reported upstream? I didn't find anything in their issue tracker. Seems unlikely they wouldn't have noticed.
Crypto Gohan commented
Tested in vscode, upstream issue.