diff --git a/typescript/core/base.ts b/typescript/core/base.ts index c6702d2ef..e72decc91 100644 --- a/typescript/core/base.ts +++ b/typescript/core/base.ts @@ -329,9 +329,9 @@ export interface _base { isEven: (value: string|number) => boolean; - sum: (array: any[], iteratee: Function, context: any) => number; + sum: (array: any[], iteratee?: Function, context?: any) => number; - average: (array: any[], iteratee: Function, context: any) => number; + average: (array: any[], iteratee?: Function, context?: any) => number; trim: (string?: string, chars?: string) => string;