Browse Source

Merge pull request #1187 in VISUAL/fineui from ~TELLER/fineui:master to master

* commit '36757aefa0d32fad99e5395de7e8b52dece11e97':
  refactor: 修改说明
es6
Teller 5 years ago
parent
commit
ca45756d8f
  1. 2
      typescript/core/base.ts

2
typescript/core/base.ts

@ -40,7 +40,7 @@ export interface _base {
each: <T>(collection: T[]|object|string, callback?: ((index: number, value: T) => void)|object|string, thisArg?: any) => any;
map: <T, U>(collection: T[]|object|string, callback?: ((index: number, value: T) => U)|object|string, thisArg?: any) => U[];
map: <T, U>(collection: T[]|object|string|null|undefined, callback?: ((index: number, value: T) => U)|object|string, thisArg?: any) => U[];
reduce: <T, U>(collection: T[]|object|string, callback?: ((total: U extends T ? U : T, currentValue: T, currentIndex: number) => U extends T ? U : T)|object|string, initialValue?: U|T) => U extends T ? U : T;

Loading…
Cancel
Save