mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #1124 from derekcicerone/patch-17
Fixes for underscore.d.ts
This commit is contained in:
Vendored
+4
-4
@@ -382,7 +382,7 @@ declare module _ {
|
||||
**/
|
||||
export function pluck<T extends {}>(
|
||||
list: Collection<T>,
|
||||
propertyName: string): T[];
|
||||
propertyName: string): any[];
|
||||
|
||||
/**
|
||||
* Returns the maximum value in list.
|
||||
@@ -839,7 +839,7 @@ declare module _ {
|
||||
start: number,
|
||||
stop: number,
|
||||
step?: number): number[];
|
||||
|
||||
|
||||
/**
|
||||
* @see _.range
|
||||
* @param stop Stop here.
|
||||
@@ -900,7 +900,7 @@ declare module _ {
|
||||
**/
|
||||
export function memoize(
|
||||
fn: Function,
|
||||
hashFn?: (n: any) => string): Function;
|
||||
hashFn?: (...args: any[]) => string): Function;
|
||||
|
||||
/**
|
||||
* Much like setTimeout, invokes function after wait milliseconds. If you pass the optional arguments,
|
||||
@@ -1624,7 +1624,7 @@ declare class _<T> {
|
||||
* @see _.shuffle
|
||||
**/
|
||||
shuffle(): T[];
|
||||
|
||||
|
||||
/**
|
||||
* Wrapped type `any[]`.
|
||||
* @see _.sample
|
||||
|
||||
Reference in New Issue
Block a user