Manually Extending Auth Types
Is there a way to manually type or extend the
authClient
so that it can infer other plugin features. I have a function that accepts authClient
but it can only access email plugin like so: authClient.signIn.email()
, it's unable to infer something like authClient.signIn.magicLink
. Is there a standard way around that? (I suppose the same question for the server auth too)0 Replies