docs(data-structures): enables doc lint of data-structures (#4847)

This commit is contained in:
Yoshiya Hinosawa 2024-05-27 14:30:26 +09:00 committed by GitHub
parent ff8bc182f9
commit 826344cd29
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 5 deletions

View File

@ -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",

View File

@ -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,

View File

@ -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,

View File

@ -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<T> extends BinarySearchTree<T> {
declare protected root: RedBlackNode<T> | null;
/**
* Construct an empty red-black tree.
*