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
NodeTypes is a const enum, it exists only in Typescript. It is compiled out of Vue, every instance is replaced with appropriate value. That is why you cannot import it.
.. because esbuild only performs transpilation without type information, it doesn't support certain features like const enum and implicit type-only imports.
Describe the bug
why NodeTypes is undefined? I can't sure that is vite's reason.
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-ycjtaj?file=test/suite.test.ts
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: