wobsoriano/elysia-clerk

Typescript: How to correctly type `auth`

Closed this issue · 2 comments

Hey.

Thanks for this plugin. I created a isSignIn function that i use in beforeHandler.
How to correctly type it to avoid this error ?

Thanks.

image

It's a known problem with Elysia plugins when you use them on child Elysia apps.

See elysiajs/elysia#566