Nexus types aren't updated when generated types files are open in VSCode #1129
-
Ran into an interesting limitation while playing around with Nexus, if you open the generated types files in VSCode from @types directory, for example "index.d.ts" it seems to prevent typescript from picking up on newly generated types as you change the code. Nexus dev was running the whole time, everything worked after I closed the index.d.ts file. Was confused when I was fixing types yet still seeing the same errors, just thought you all should know. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Thanks @Blitz2145, we've definitely seen some quirks over the months with TS Language Server/VSCode. I've actually never heard exactly this one. Often its the inverse, types aren't being refreshed but opening the typing module "wakes up" TS Language Server/VSCode. |
Beta Was this translation helpful? Give feedback.
Thanks @Blitz2145, we've definitely seen some quirks over the months with TS Language Server/VSCode. I've actually never heard exactly this one. Often its the inverse, types aren't being refreshed but opening the typing module "wakes up" TS Language Server/VSCode.