Supabase JS help

Hello,
New Supabase user here. I'm having some real problems with the documentation - particularly around TypeScript. I've started working through the SvelteKit guide found here. https://supabase.com/docs/guides/with-sveltekit

I immediately ran into a wall where TypeScript was having issues and it turned out the guide is for the 1.0 version and not 2.0. Methods have changed, which is fine.

I'm now stuck because I can't find appropriate documentation on the
error
type AuthError. I've tried searching for this type with no luck. Why is the Supabase documentation so obscure? I don't mean to be rude but providing clear and concise documentation on types (objects) and their methods/properties is fairly standard in 2022.

I'm basically stuck because the guides are dated and there does not seem to be updated documentation or any documentation for that matter that clearly states the properties and methods for simple things like the error object.

Thanks!
Learn how to use Supabase in your SvelteKit App.
Was this page helpful?