From 8ea54fcc84712fc09527a1fa025029c02710f449 Mon Sep 17 00:00:00 2001 From: alan Date: Thu, 29 Aug 2019 13:48:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/core/base.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;