N
Nuxt6mo ago
ægteemil

WARN [unimport] failed to resolve [type], scip scanning

Hey. I'm using a library to automatically create a service to match my backend API from its open-api spec. I've added the types from this as an auto import:
imports: {
dirs: ['services/gilbert-api'],
},
imports: {
dirs: ['services/gilbert-api'],
},
This directory has four files, index.ts and the files it's showing an error for. index.ts exports the other three files - maybe this is causing the issue? This is working, and I can use the types specified in these files, but it's spitting out an error when i run dev or any type-checking. WARN [unimport] failed to resolve "C:/git/Gilbert/src/Gilbert.App/app/services/gilbert-api/schemas.gen", skip scanning WARN [unimport] failed to resolve "C:/git/Gilbert/src/Gilbert.App/app/services/gilbert-api/services.gen", skip scanning WARN [unimport] failed to resolve "C:/git/Gilbert/src/Gilbert.App/app/services/gilbert-api/types.gen", skip scanning
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server