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

db.useAuth().user typing is wrong #471

Open
uriva opened this issue Nov 14, 2024 · 1 comment
Open

db.useAuth().user typing is wrong #471

uriva opened this issue Nov 14, 2024 · 1 comment

Comments

@uriva
Copy link

uriva commented Nov 14, 2024

I think db.useAuth().user; typing is wrong, should be User | null.

@stopachka
Copy link
Contributor

Hey @uriva -- right now the type is User | undefined. To make sure I understand: is that you would like the difference between undefined and null to be explicit?

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

No branches or pull requests

2 participants