Merge pull request #837 from basarat/patch-4

Based on http://underscorejs.org/
This commit is contained in:
Diullei Gomes
2013-08-06 18:57:42 -07:00
+3 -3
View File
@@ -368,11 +368,11 @@ declare module _ {
* property values.
* @param list The list to pluck elements out of that have the property `propertyName`.
* @param propertyName The property to look for on each element within `list`.
* @return The list of elements within `list` that have the property `propertyName`.
* @return The list of values for `propertyName` for each element within `list`
**/
export function pluck<T extends {}>(
list: Collection<T>,
propertyName: string): T[];
propertyName: string): any[];
/**
* Returns the maximum value in list.
@@ -2852,4 +2852,4 @@ interface _Chain<T> {
declare module "underscore" {
export = _;
}
}