1
This commit is contained in:
15
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/map.d.ts
vendored
Normal file
15
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/map.d.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* 指定方法后的返回值组成的新数组
|
||||
* @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
|
||||
Reference in New Issue
Block a user