Open t0mri opened 11 months ago
import Lucia from "@elysiajs/lucia-auth"; const { elysia, lucia, oauth } = Lucia({ adapter: adapter(new PrismaClient()) })
[{ "resource": "/T:/Projects/AGSCraft/labs/rough/src/server.tsx", "owner": "typescript", "code": "2339", "severity": 8, "message": "Property 'elysia' does not exist on type '{ lucia: Auth<{ env: \"DEV\" | \"PROD\"; adapter: ((E: LuciaErrorConstructor) => Readonly<{ getSessionAndUserBySessionId?: ((sessionId: string) => Promise<{ user: Readonly<any>; session: Readonly<...>; } | null>) | undefined; } & Readonly<...> & Readonly<...>>) | { ...; }; ... 9 more ...; experimental?: { ...; } | undef...'.", "source": "ts", "startLineNumber": 14, "startColumn": 21, "endLineNumber": 14, "endColumn": 27 }]
same
+1