-
-
Notifications
You must be signed in to change notification settings - Fork 555
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
NonEmptyObject #621
Labels
Comments
👍 |
If anyone wants to work on this, see the initial attempt here: #623 |
kkmuffme
added a commit
to kkmuffme/type-fest
that referenced
this issue
Aug 8, 2023
@sindresorhus #623 is completed. Could you please merge it? |
kkmuffme
added a commit
to kkmuffme/type-fest
that referenced
this issue
Aug 18, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Opposite of https://github.com/sindresorhus/type-fest/blob/main/source/empty-object.d.ts (as this would used way more often than EmptyObject for us at least) which ensures that an object contains at least 1 key
Useful for e.g. updates, where all keys are optional, but there must be at least 1 key.
The text was updated successfully, but these errors were encountered: