Skip to content

Commit 6a4a66d

Browse files
♻️ refactor(api/from): Simplify.
1 parent d823380 commit 6a4a66d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/api/from.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ import RedBlackTree from '../types/RedBlackTree.js';
44
* Same as {@link RedBlackTree.from}.
55
* @function from
66
*/
7-
const from = RedBlackTree.from;
8-
export default from;
7+
export default RedBlackTree.from;

0 commit comments

Comments
 (0)