Nextjs Auth Helpers getUser returns type any for user and error
Currently Nextjs auth helpers
In
Also if this
Also made an issue in the repo.
https://github.com/supabase/auth-helpers/issues/213
getUser() return type is not resolving correctly. In
const {error, user} = getUser(ctx) both error and user have a type of any. Also if this
getUser() is called while not authenticated, user is returned as null and no error is logged.Also made an issue in the repo.
https://github.com/supabase/auth-helpers/issues/213
GitHub
Hello, I am using @supabase/auth-helpers-nextjs: 0.2.5 and it appears that the return type for getUser() is not resolving correctly. It returns ResponsePayload which has this shape, interface Respo...