ados-rcm 1.1.139 → 1.1.140

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,6 +7,7 @@ declare function every<T extends IATreeItem<T>>(items: T[] | T, predicate: (item
7
7
  declare function filter<T extends IATreeItem<T>>(items: T[] | T, predicate: (item: T, idx?: TIdx) => boolean): T[];
8
8
  declare function length<T extends IATreeItem<T>>(items: T[] | T): number;
9
9
  declare function replace<T extends IATreeItem<T>>(items: T[] | T, srcItem: T, dstItem: T, isEqual: (a: T, b: T) => boolean): T[] | null;
10
+ declare function descendants<T extends IATreeItem<T>>(entireItems: T[] | T, srcItems: T[]): T[];
10
11
  /**
11
12
  * treeF : tree functions
12
13
  */
@@ -18,5 +19,6 @@ export declare const treeF: {
18
19
  filter: typeof filter;
19
20
  length: typeof length;
20
21
  replace: typeof replace;
22
+ descendants: typeof descendants;
21
23
  };
22
24
  export {};