nuxt-modules / supabase

Supabase module for Nuxt.
https://supabase.nuxtjs.org
MIT License
676 stars 123 forks source link

`useSupabaseUser` should be return types include `null` #396

Open JianJroh opened 1 month ago

JianJroh commented 1 month ago

Version

@nuxtjs/supabase: v1.3.5 nuxt: v3.12.4

Reproduction Link

See: https://unpkg.com/@nuxtjs/supabase@1.3.5/dist/runtime/composables/useSupabaseUser.d.ts

Only include User type

What is Expected?

Also include null type

pascalwengerter commented 1 week ago

@th1m0 this has been fixed and released via v1.4.0 if I'm not mistaken?

th1m0 commented 1 week ago

Yes, this should be fixed in version 1.4.0