-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: address pick issue when key not in object (#112)
* fix: address pick issue when key not in object * fix: restrict T to a generic object and use .hasOwnProperty() restrict the type of T to be Record<string, unknown> (thus, a generic object) and use the .hasOwnProperty() method to check if key is in obj * test: add test for missing key and undefined property * chore: bump version to 8.0.2 (patch)
- Loading branch information
1 parent
5a11fc5
commit dc7b2cc
Showing
3 changed files
with
17 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
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