From 09256e124cbb315b830bab97feca70b6afdbe9c2 Mon Sep 17 00:00:00 2001 From: iapyang Date: Wed, 8 Apr 2020 14:32:32 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=8F=8F=E8=BF=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/core/base.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typescript/core/base.ts b/typescript/core/base.ts index 5902544bde..c6702d2eff 100644 --- a/typescript/core/base.ts +++ b/typescript/core/base.ts @@ -36,7 +36,7 @@ export interface _base { toArray: (collection: any[]|object|string) => any[]; - size: (collection: any[]|object|string) => number; + size: (collection: any) => number; each: (collection: T[]|object|string, callback?: ((index: number, value: T) => void)|object|string, thisArg?: any) => any;