Browse Source

Pull request #1331: refactor: 修改BI.sum和average方法参数声明

Merge in VISUAL/fineui from ~KIRA/fineui:master to master

* commit 'ffc4ddfb774310c26227558d22947cb6f43230c2':
  refactor: 修改BI.sum和average方法参数声明
es6
Kira 5 years ago
parent
commit
d7fc9379ab
  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