-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pluck): fix pluck's catch-all signature for better type safety (#…
…5192) * fix(pluck): fix pluck's catch-all signature for better type safety Change pluck's catch-all signature that is causing troubles when the passed string is not a key in the argument object. Issue: #5188 * fix(pluck): fix signature and tests Correct the signtaure to be accepted by tests and to return unknown in general * fix(pluck): add test case to check type inference
- Loading branch information
Showing
2 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters