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.
18 lines
467 B
18 lines
467 B
5 months ago
|
|
||
|
/**
|
||
|
* 对象迭代器
|
||
|
* @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
|