mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #3140 from daptiv/fix-underscore-definition
Underscorejs pick takes strings or arrays of strings (or any combination of the two)
This commit is contained in:
Vendored
+1
-1
@@ -1177,7 +1177,7 @@ interface UnderscoreStatic {
|
||||
**/
|
||||
pick(
|
||||
object: any,
|
||||
...keys: string[]): any;
|
||||
...keys: any[]): any;
|
||||
|
||||
/**
|
||||
* Return a copy of the object, filtered to omit the blacklisted keys (or array of keys).
|
||||
|
||||
Reference in New Issue
Block a user