In classic/deprecated Language Server mode, we support using extension-less import module specifiers, e.g.
import Greeting from './Greeting';
In new TS Plugin mode, it fails to resolve the import until/unless you change to:
import Greeting from './Greeting.gts';
Example in our codebase:
https://github.com/typed-ember/glint/blob/main/packages/vscode/__fixtures__/template-imports-app-ts-plugin/src/index.gts#L7
Perhaps this isn't fixable
I'm waiting back to hear whether this can be fixed in Volar, but it's possible there is no solution to this, in which case apps that want to use new Glint in TS Plugin mode will have to codemod their imports to include extensions.
In classic/deprecated Language Server mode, we support using extension-less import module specifiers, e.g.
In new TS Plugin mode, it fails to resolve the import until/unless you change to:
Example in our codebase:
https://github.com/typed-ember/glint/blob/main/packages/vscode/__fixtures__/template-imports-app-ts-plugin/src/index.gts#L7
Perhaps this isn't fixable
I'm waiting back to hear whether this can be fixed in Volar, but it's possible there is no solution to this, in which case apps that want to use new Glint in TS Plugin mode will have to codemod their imports to include extensions.