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
396 B
16 lines
396 B
5 months ago
|
/**
|
||
|
* 在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
|