Cannot find type definition for `@glint/ember-tsc/types` with `jsconfig.json` in VS Code
## Summary
When I try to use Glint V2 in a JS-only project with a `jsconfig.json` file specifying `@glint/ember-tsc/types` in `compilerOptions.types`, VS Code's built-in TS/JS language tooling throws an error:
```
Cannot find type definition file for '@glint/ember-tsc/types'.
The file is in the program because:
Entry point of type library '@glint/ember-tsc/types' specified in compilerOptions
```
## Reproduction
https://github.com/fdeters/glint-jsconfig-repro
### Screenshot of error
<img width="822" height="388" alt="Image" src="https://github.com/user-attachments/assets/3cc873d9-d931-4fbb-8d63-93e03567282f" />
关闭于 2026-02-05 3 条评论