UNPKG
bunyamin
Version:
latest (1.6.3)
1.6.3
1.6.2
1.6.1
1.6.0
1.5.2
1.5.1
1.5.0
1.4.2
1.4.1
1.4.0
1.3.0
1.2.0
1.1.1
1.1.0
1.0.1
1.0.0
0.0.1
0.0.0
Bunyan-based logger for Node.js supporting Trace Event format
github.com/wix-incubator/bunyamin
bunyamin
/
src
/
streams
/
trace-merge
/
resolvers
/
tree
/
abstract
/
TreeNode.ts
11 lines
(9 loc)
•
285 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
export
interface
TreeNode
<
Value
=
unknown
,
ChildNode
extends
LeafNode
<
any
> =
LeafNode
>
extends
LeafNode
<
Value
> {
appendChild
(
value
:
ChildNode
):
ChildNode
; }
export
interface
LeafNode
<
Value
=
unknown
> {
value
:
Value
;
index
:
number
;
parent
?:
TreeNode
<
any
,
LeafNode
<
Value
>>; }