How to export types of an nuxt plugin?
So i'm using the better-auth, and for the client part, i created a nuxt plugin like this:
But how can i export/infer some types from authClient ? like if i just created this client in a
But with plugin i didn't found a way to do the same thing
But how can i export/infer some types from authClient ? like if i just created this client in a
lib/auth-client.ts i can easily do like this:But with plugin i didn't found a way to do the same thing
