diff --git a/_tools/check_docs.ts b/_tools/check_docs.ts index 64ca90d64d09..c68aeb46259d 100644 --- a/_tools/check_docs.ts +++ b/_tools/check_docs.ts @@ -30,6 +30,7 @@ const ENTRY_POINTS = [ "../bytes/mod.ts", "../cli/mod.ts", "../collections/mod.ts", + "../data_structures/mod.ts", "../datetime/mod.ts", "../encoding/mod.ts", "../internal/mod.ts", diff --git a/data_structures/binary_heap.ts b/data_structures/binary_heap.ts index 7291cdef157a..c522ce3176b8 100644 --- a/data_structures/binary_heap.ts +++ b/data_structures/binary_heap.ts @@ -26,7 +26,7 @@ function getParentIndex(index: number) { * | pop() | O(log n) | O(log n) | * | push(value) | O(1) | O(log n) | * - * @example + * @example Usage * ```ts * import { * ascend, diff --git a/data_structures/binary_search_tree.ts b/data_structures/binary_search_tree.ts index c72297a46bd1..687e9dc00e4e 100644 --- a/data_structures/binary_search_tree.ts +++ b/data_structures/binary_search_tree.ts @@ -24,7 +24,7 @@ type Direction = "left" | "right"; * | min() | O(log n) | O(n) | * | max() | O(log n) | O(n) | * - * @example + * @example Usage * ```ts * import { * BinarySearchTree, diff --git a/data_structures/red_black_tree.ts b/data_structures/red_black_tree.ts index 165a57c569fd..d39ec4d49ead 100644 --- a/data_structures/red_black_tree.ts +++ b/data_structures/red_black_tree.ts @@ -34,7 +34,7 @@ const { * | min() | O(log n) | O(log n) | * | max() | O(log n) | O(log n) | * - * @example + * @example Usage * ```ts * import { * ascend, @@ -101,8 +101,6 @@ const { * @typeparam T The type of the values being stored in the tree. */ export class RedBlackTree extends BinarySearchTree { - declare protected root: RedBlackNode | null; - /** * Construct an empty red-black tree. *