Skip to content

Commit a20b985

Browse files
committed
Correct findMaximum in typings
1 parent 84db577 commit a20b985

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

typings/avl-tree.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ declare module '@tyriar/avl-heap' {
1111
* An AVL tree data structure with a key and optional value.
1212
*/
1313
export class AvlTree<K, V> {
14-
/**
15-
* Gets the maximum key in the tree.
16-
*/
17-
public findMaximum: K;
18-
1914
/**
2015
* Gets the size of the tree.
2116
*/
@@ -63,5 +58,10 @@ declare module '@tyriar/avl-heap' {
6358
* @return The minimum key in the tree.
6459
*/
6560
public findMinimum(): K;
61+
62+
/**
63+
* Gets the maximum key in the tree.
64+
*/
65+
public findMaximum(): K;
6666
}
6767
}

0 commit comments

Comments
 (0)