@rkmodules/rules 0.0.66 → 0.0.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -96,7 +96,7 @@ export declare function binaryOnTreeBranch<T, U, V>(treeA: Tree<T>, treeB: Tree<
96
96
  * @param fn
97
97
  * @returns
98
98
  */
99
- export declare function binaryOnTree<T, U, V>(treeA: Tree<T>, treeB: Tree<U>, fn: (itemA: T, itemB: U, pathA: string, pathB: string, index: number) => V | V[], fill?: boolean): Tree<V>;
99
+ export declare function binaryOnTree<T, U, V>(treeA: Tree<T>, treeB: Tree<U>, fn: (itemA: T | undefined, itemB: U | undefined, pathA: string, pathB: string, index: number) => V | V[], fill?: boolean): Tree<V>;
100
100
  export declare function treeSize<T>(tree: Tree<T>): number;
101
101
  export declare function sameShape(a: Tree<any>, b: Tree<any>): boolean;
102
102
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rkmodules/rules",
3
- "version": "0.0.66",
3
+ "version": "0.0.67",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",