1
This commit is contained in:
15
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/invoke.d.ts
vendored
Normal file
15
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/invoke.d.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* 在list的每个元素上执行方法,任何传递的额外参数都会在调用方法的时候传递给它
|
||||
* @param list 数组
|
||||
* @param path
|
||||
* @example
|
||||
*/
|
||||
export declare function invoke(list: any[], path: string[] | string | ((this: any, ...args: any[]) => any)): any[];
|
||||
|
||||
declare module './ctor' {
|
||||
interface XEUtilsMethods {
|
||||
invoke: typeof invoke;
|
||||
}
|
||||
}
|
||||
|
||||
export default invoke
|
||||
Reference in New Issue
Block a user