You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After deleting and regenerating a large amount of auto-generated files, typescript reports an error as seen below when using --watch. This also affects the VS Code tsserver.
src/main.ts:1:32 - error TS2307: Cannot find module './app/services/generated' or its corresponding type declarations.
1 import { TranslationDto } from "./app/services/generated";
🙂 Expected behavior
Typescript should pick up new files even when there are a lot of them.
🔎 Search Terms
watch, tsc, tsserver, files, Cannot find module, or its corresponding type declarations
🕗 Version & Regression Information
⏯ Playground Link
https://github.com/2767mr/tsbug
💻 Code
No response
🙁 Actual behavior
After deleting and regenerating a large amount of auto-generated files, typescript reports an error as seen below when using
--watch
. This also affects the VS Code tsserver.🙂 Expected behavior
Typescript should pick up new files even when there are a lot of them.
Additional information about the issue
Reproduction:
npm install
npm run watch
npm run copy
Here is the tsserver log that is created when doing this: tsserver.log
Possibly related issues:
#57330
#22710
#37514
#54511 (same use case as we have - but on our end it does not work at all instead of being slow)
The text was updated successfully, but these errors were encountered: