diff --git a/typescript/core/base.ts b/typescript/core/base.ts index b4868daa2..4a6597e4f 100644 --- a/typescript/core/base.ts +++ b/typescript/core/base.ts @@ -58,9 +58,9 @@ export interface _base { any: (collection: T[]|object|string, callback?: ((index: number, value: T) => boolean)|object|string, thisArg?: any) => boolean; - max: (collection: any[]) => any; + max: (collection: T[]) => T; - min: (collection: any[]) => any; + min: (collection: T[]) => T; sortBy: (collection: any[]|object|string, callback?: ((index: number, value: T) => number)|object|string, thisArg?: any) => any[];