Merge pull request #4835 from slavomirvojacek/patch-2

Update lodash.d.ts
This commit is contained in:
Masahiro Wakame
2015-07-13 07:27:17 +09:00
+19
View File
@@ -2494,6 +2494,25 @@ declare module _ {
collection: Dictionary<T>,
whereValue: W): boolean;
}
interface LoDashStatic {
/**
* Fills elements of array with value from start up to, but not including, end.
*
* Note: This method mutates array.
*
* @param array (Array): The array to fill.
* @param value (*): The value to fill array with.
* @param [start=0] (number): The start position.
* @param [end=array.length] (number): The end position.
* @return (Array): Returns array.
**/
fill<T>(
array: Array<any>,
value: any,
start?: number,
end?: number): Array<any>;
}
//_.filter
interface LoDashStatic {