From 3d412b12c0949796ba01cde990817ef59a40238b Mon Sep 17 00:00:00 2001 From: iapyang Date: Fri, 6 Dec 2019 17:16:08 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"KERNEL-2418=20fix:=20=E6=8F=8F?= =?UTF-8?q?=E8=BF=B0=E4=BF=AE=E6=94=B9"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit a9ae1737d9f3c7b3a5b05d1290553bb2c79bd599. --- typescript/core/base.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typescript/core/base.ts b/typescript/core/base.ts index ab3c58813d..e8ecfc3f08 100644 --- a/typescript/core/base.ts +++ b/typescript/core/base.ts @@ -110,11 +110,11 @@ export interface _base { int2Abc: (num: number) => string; // 数组相关的方法 - first: (array: T[] | any, callback?: Function|object|number|string, thisArg?: any) => T; + first: (array: T[], callback?: Function|object|number|string, thisArg?: any) => T; initial: (array: T[], callback?: Function|object|number|string, thisArg?: any) => T[]; - last: (array: T[] | any, callback?: Function|object|number|string, thisArg?: any) => T; + last: (array: T[], callback?: Function|object|number|string, thisArg?: any) => T; rest: (array: T[], callback?: Function|object|number|string, thisArg?: any) => T[];