We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Required<T, K>
Optional<T, K>
Created as per #82 (comment)
Implementation should be straightforward:
type SomeRequired<T extends object, K extends keyof T = keyof T> = Omit<T, K> & Required<Pick<T, K>>;
Not sure about naming. Can't be Required as it conflicts with the built-in type. Any better idea than SomeRequired?
Required
SomeRequired
The text was updated successfully, but these errors were encountered:
Required is fine, as it's a superset and is compatible with native Required so Local imports will not break any of the global references.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Created as per #82 (comment)
Implementation should be straightforward:
Not sure about naming. Can't be
Required
as it conflicts with the built-in type. Any better idea thanSomeRequired
?The text was updated successfully, but these errors were encountered: