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:
Masahiro Wakame
2014-11-14 10:57:12 +09:00
+1 -1
View File
@@ -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).