namespace GenericBinaryTree { class BinaryTreeNode < T > { value : T ; left : BinaryTreeNode < T > | undefined ; right : BinaryTreeNode < T > | undefined ; constructor ( value ) { this . value = value ; } } }