-
Notifications
You must be signed in to change notification settings - Fork 59
Better types for auth.makeUserRecord #112
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
base: master
Are you sure you want to change the base?
Conversation
eb0d53f
to
97d7c83
Compare
97d7c83
to
5e746e3
Compare
Can anyone review and, if happy, merge this in please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm confused why we can't just say Partial<UserRecord>
? Why do we need to specifically ensure that we omit toJSON
? On one hand the code complete might be cleaner, but it requires more thought to understand the type definitions.
I can’t remember why I removed |
I wonder if we should define |
Yeh that’s fine with me 👍 |
Description
Allowed partial typed
UserRecord
object to be specified for parameter ofauth.makeUserRecord
.Code sample
N/A