1
This commit is contained in:
17
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/objectEach.d.ts
vendored
Normal file
17
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/objectEach.d.ts
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
/**
|
||||
* 对象迭代器
|
||||
* @param obj 对象
|
||||
* @param iterate 回调
|
||||
* @param context 上下文
|
||||
*/
|
||||
export declare function objectEach<T>(obj: T, iterate: (item: any, key: string, obj: T) => void, context ?: any): void;
|
||||
export declare function objectEach(obj: any, iterate: (item: any, key: string, obj: any) => void, context ?: any): void;
|
||||
|
||||
declare module './ctor' {
|
||||
interface XEUtilsMethods {
|
||||
objectEach: typeof objectEach;
|
||||
}
|
||||
}
|
||||
|
||||
export default objectEach
|
||||
Reference in New Issue
Block a user