Skip to content

Commit

Permalink
Tree: add missing phantom fields
Browse files Browse the repository at this point in the history
  • Loading branch information
gcanti committed May 24, 2018
1 parent 6b6a355 commit 7f92b8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ export type Forest<A> = Array<Tree<A>>
* @since 1.6.0
*/
export class Tree<A> {
readonly _A!: A
readonly _URI!: URI
constructor(readonly value: A, readonly forest: Forest<A>) {}
/**
* @since 1.6.0
Expand Down

0 comments on commit 7f92b8d

Please sign in to comment.