data-structure-typed/src/interfaces/binary-tree.ts

6 lines
342 B
TypeScript
Raw Normal View History

import {BinaryTreeNode} from '../data-structures';
import {IAbstractBinaryTree, IAbstractBinaryTreeNode} from './abstract-binary-tree';
2023-09-20 03:39:24 +00:00
export type IBinaryTreeNode<T, NEIGHBOR extends IBinaryTreeNode<T, NEIGHBOR>> = IAbstractBinaryTreeNode<T, NEIGHBOR>
2023-09-20 03:39:24 +00:00
export type IBinaryTree<N extends BinaryTreeNode<N['val'], N>> = IAbstractBinaryTree<N>