Browse Source

refactor: 修改BI.sum和average方法参数声明

es6
Kira 5 years ago
parent
commit
ffc4ddfb77
  1. 4
      typescript/core/base.ts

4
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;

Loading…
Cancel
Save