Installation
npm install --save @types/treeify
Summary
This package contains type definitions for treeify (https://github.com/notatestuser/treeify).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/treeify.
export interface TreeObject {
[k: string]: TreeValue;
}
export type TreeValue = string | TreeObject;
export function asTree(
treeObj: TreeObject,
showValues: boolean,
hideFunctions: boolean,
): string;
export function asLines(
treeObj: TreeObject,
showValues: boolean,
lineCallback: (line: string) => void,
): string;
export function asLines(
treeObj: TreeObject,
showValues: boolean,
hideFunctions: boolean,
lineCallback: (line: string) => void,
): string;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by Mike North.
Current Tags
-
1.0.3
...
latest
(a year ago)
-
1.0.0
...
ts2.1
(6 years ago)
-
1.0.0
...
ts2.2
(6 years ago)
-
1.0.0
...
ts2.3
(6 years ago)
-
1.0.0
...
ts2.4
(6 years ago)
-
1.0.0
...
ts2.5
(6 years ago)
-
1.0.0
...
ts2.6
(6 years ago)
-
1.0.0
...
ts2.7
(6 years ago)
-
1.0.0
...
ts2.8
(6 years ago)
-
1.0.0
...
ts2.9
(6 years ago)
-
1.0.0
...
ts3.0
(6 years ago)
-
1.0.0
...
ts3.1
(6 years ago)
-
1.0.0
...
ts3.2
(6 years ago)
-
1.0.0
...
ts3.3
(6 years ago)
-
1.0.0
...
ts3.4
(6 years ago)
-
1.0.0
...
ts3.5
(6 years ago)
-
1.0.0
...
ts3.6
(6 years ago)
-
1.0.0
...
ts3.7
(6 years ago)
-
1.0.0
...
ts3.8
(6 years ago)
-
1.0.0
...
ts3.9
(6 years ago)
-
1.0.0
...
ts4.0
(6 years ago)
-
1.0.0
...
ts4.1
(6 years ago)
-
1.0.0
...
ts4.2
(6 years ago)
-
1.0.1
...
ts4.3
(a year ago)
-
1.0.1
...
ts4.4
(a year ago)
-
1.0.3
...
ts4.5
(a year ago)
-
1.0.3
...
ts4.6
(a year ago)
-
1.0.3
...
ts4.7
(a year ago)
-
1.0.3
...
ts4.8
(a year ago)
-
1.0.3
...
ts4.9
(a year ago)
-
1.0.3
...
ts5.0
(a year ago)
-
1.0.3
...
ts5.1
(a year ago)
-
1.0.3
...
ts5.2
(a year ago)
-
1.0.3
...
ts5.3
(a year ago)
-
1.0.3
...
ts5.4
(a year ago)
4 Versions