-
-
Notifications
You must be signed in to change notification settings - Fork 230
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
New API Proposal for extending Pick/Omit and Object-Keys Helpers #59
Comments
piotrwitek
added
funded on IssueHunt
needs funding
and removed
accepting PRs
needs community feedback
labels
Apr 25, 2019
@IssueHunt has funded $50.00 to this issue.
|
piotrwitek
changed the title
New API Proposal for extending Pick/Omit and Object-Keys Helpers General
New API Proposal for extending Pick/Omit and Object-Keys Helpers
Apr 28, 2019
8 tasks
piotrwitek
added a commit
that referenced
this issue
Apr 28, 2019
@piotrwitek has rewarded $35.00 to @piotrwitek. See it on IssueHunt
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I agree we could greatly benefit from both general helpers and shortcuts.
New API Proposal for extending Pick/Omit and Object-Keys Helpers
General:
PickByValue<TObj, TValue>
PickByExactValue<TObj, TValue>
OmitByValue<TObj, TValue>
OmitByExactValue<TObj, TValue>
KeysByValue<TObj, TValue> ===
keyof PickByValue<TObj, TValue>
- no need to implementKeysByExactValue<TObj, TValue> ===
keyof PickByExactValue<TObj, TValue>
- no need to implementShortcuts:
Existing:
New:
Open for feedback/improvements!
The text was updated successfully, but these errors were encountered: