-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
z.record
makes all his attributes optional
#2320
Comments
@JacobWeisenburger I made a little research and I've found: Lines 3318 to 3328 in 502384e
If I remove the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I've offered a workaround using |
Look at this:
It should warn me about
foo
being missing, but isn't becausez.record
produces this:Partial<Record<"foo" | "bar", number>>
Is that intentional because of some reason i don't understand? I read all the docs and I couldn't find anything.
Thank you ❤️
The text was updated successfully, but these errors were encountered: