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
When importing virtual:windi-devtools in TypeScript code, it errors with Cannot find module 'virtual:windi-devtools' or its corresponding type declarations.ts
But in the build, there's no error and devtools is loaded normally, since it's just a TypeScript error. Adding // @ts-ignore works as expected.
Describe the bug
When importing
virtual:windi-devtools
in TypeScript code, it errors withCannot find module 'virtual:windi-devtools' or its corresponding type declarations.ts
But in the build, there's no error and devtools is loaded normally, since it's just a TypeScript error. Adding
// @ts-ignore
works as expected.Minimal Reproductions
I'm following the SvelteKit instructions here https://windicss.org/integrations/vite.html#sveltekit-as-of-1-0-0-next-102
and I added
Versions
The text was updated successfully, but these errors were encountered: