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