diff --git a/typescript/core/base.ts b/typescript/core/base.ts index 5902544bd..c6702d2ef 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;