From 13059971a85c3e8466e96e28eb088520541dd8e0 Mon Sep 17 00:00:00 2001 From: Revone Date: Fri, 18 Aug 2023 22:51:45 +0800 Subject: [PATCH] Isolated type removed --- src/data-structures/types/binary-tree.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/data-structures/types/binary-tree.ts b/src/data-structures/types/binary-tree.ts index 25b3a0e..df467e4 100644 --- a/src/data-structures/types/binary-tree.ts +++ b/src/data-structures/types/binary-tree.ts @@ -6,10 +6,4 @@ export type DFSOrderPattern = 'in' | 'pre' | 'post'; export type BinaryTreeNodeId = number; export type BinaryTreeDeleted = { deleted: BinaryTreeNode | null | undefined, needBalanced: BinaryTreeNode | null }; export type ResultByProperty = T | BinaryTreeNode | number | BinaryTreeNodeId; -export type ResultsByProperty = ResultByProperty[]; - -export interface BinaryTreeNodeObj { - id: BinaryTreeNodeId; - val: T; - count?: number; -} \ No newline at end of file +export type ResultsByProperty = ResultByProperty[]; \ No newline at end of file