NuxtN
Nuxt3mo ago
4 replies
EatSleepGames

Auto import breaking

I have my type definitions inside shared/types, and my enums are located in shared/types/enums.

When I reference something like FooEnum (from shared/types/enums) inside a type definition in shared/types, it doesn’t auto-import correctly.

If I manually import it, the app’s auto-import system breaks completely.

Any idea how to fix this?
Was this page helpful?