tree-visit
Advanced tools
Comparing version 0.4.1 to 0.4.2
@@ -62,3 +62,3 @@ import { DiagramOptions } from './diagram'; | ||
appliedOptions: AppliedOptions; | ||
constructor(getChildrenOrBaseOptions: BaseOptions<T> | ((node: T) => T[]), appliedOptions: AppliedOptions); | ||
constructor(getChildrenOrBaseOptions: BaseOptions<T> | BaseOptions<T>['getChildren'], appliedOptions: AppliedOptions); | ||
/** | ||
@@ -128,3 +128,3 @@ * Returns the node's children. | ||
} | ||
export declare function defineTree<T>(getChildren: BaseOptions<T> | ((node: T) => T[])): Tree<T, {}>; | ||
export declare function defineTree<T>(getChildren: BaseOptions<T> | BaseOptions<T>['getChildren']): Tree<T, {}>; | ||
export {}; |
{ | ||
"name": "tree-visit", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "A tree traversal library.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
95198