what's the proper way to get the type of signin methods in the client?

I tried this:
  type SignInSocialResult = ReturnType<typeof client.signIn.social> // typed as any


Can I also get the type of the parameters? For example, I want to get the type of parameters that need to be pased to client.signIn.social
Was this page helpful?