Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Property 'elysia' does not exist on type lucia #2

Open
t0mri opened this issue Oct 17, 2023 · 2 comments
Open

Property 'elysia' does not exist on type lucia #2

t0mri opened this issue Oct 17, 2023 · 2 comments

Comments

@t0mri
Copy link

t0mri commented Oct 17, 2023

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
}]
@parweb
Copy link

parweb commented Oct 22, 2023

same

@Nmans01
Copy link

Nmans01 commented Nov 13, 2023

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants