Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(types): nullable composable types #407

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

th1m0
Copy link
Contributor

@th1m0 th1m0 commented Aug 29, 2024

Types of changes

  • Bug fix (a non-breaking change which fixes an issue)
  • New feature (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

Resolves #406, #396

Removed strictNullChecks from the tsconfig as it may lead to misleading editor type behaviours. Made useSupabaseSession and useSupabaseUser nullable.

Copy link

netlify bot commented Aug 29, 2024

👷 Deploy request for n3-supabase pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 10b64d4

@larbish larbish merged commit cbbfd86 into nuxt-modules:main Aug 30, 2024
1 check passed
larbish pushed a commit to felixgabler/supabase-nuxt that referenced this pull request Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

useSupabaseUser() should be of type Ref<User|null>
2 participants