You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
362 B
16 lines
362 B
5 months ago
|
/**
|
||
|
* 指定方法后的返回值组成的新数组
|
||
|
* @param list 数组
|
||
|
* @param iterate 回调
|
||
|
* @param context 上下文
|
||
|
*/
|
||
|
export declare function map<T, U, C>(list: T[], iterate: (this: C, item: T, index: number, list: T[]) => U, context?: C): U[];
|
||
|
|
||
|
declare module './ctor' {
|
||
|
interface XEUtilsMethods {
|
||
|
map: typeof map;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default map
|