authClient.getSession wrong return type
when using authClient with
the return type is:
but it should be:
the return type is:
but it should be:
Solution
GitHub
When there isn't an active session, null is returned on the /get-session endpoint. This was missing in types.