-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
Sorry if this was reported already but I came across 2 stubborn and possibly false positive TS errors while setting up better auth with convex.
Basically if you follow this official setup guide, at step 5 and 6, when you define createAuth
and the authClient
TS throws the following errors.
The inferred type of 'authClient' cannot be named without a reference to '.pnpm/[email protected]/node_modules/jose'. This is likely not portable. A type annotation is necessary.ts(2742)
The inferred type of 'createAuth' cannot be named without a reference to '.pnpm/[email protected]/node_modules/jose'. This is likely not portable. A type annotation is necessary.ts(2742)
To reproduce, just follow the steps here.
Version: 0.8.6
and also 0.8.8
(latest)
Better Auth version is what is recommended: 1.3.8
Metadata
Metadata
Assignees
Labels
No labels