1 | export interface EachTreeOptions {
|
2 | children?: string;
|
3 | }
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 | export declare function eachTree<T, C>(list: T[], iterate: (this: C, item: T, index: number, items: T[], path: string[], parent: T, nodes: T[]) => void, options?: EachTreeOptions, context?: C): void;
|
13 | export declare function eachTree<C>(list: any[], iterate: (this: C, item: any, index: number, items: any[], path: string[], parent: any, nodes: any[]) => void, options?: EachTreeOptions, context?: C): void;
|
14 | export declare function eachTree<C>(list: any, iterate: (this: C, item: any, index: number, items: any, path: string[], parent: any, nodes: any) => void, options?: EachTreeOptions, context?: C): void;
|
15 |
|
16 | declare module './ctor' {
|
17 | interface XEUtilsMethods {
|
18 | eachTree: typeof eachTree;
|
19 | }
|
20 | }
|
21 |
|
22 | export default eachTree
|