Mqx
Mqx14mo ago

VS-Code auto import local modules

Hey is there a way to enable some sort of auto import for local modules/files in VS-Code? Currently it only works if the file is opened in an other tab. When I close the tab an try to use autocomplete an exported module from that file it does not auto import. Is there a fix to this? Or some settings? Thanks for any help!
1 Reply
Mqx
Mqx14mo ago
Also my files get imported with a .js extension not with .ts... Same problem with .d.ts. These files also get imported with a .js extension.