Skip to content
This repository was archived by the owner on Mar 27, 2022. It is now read-only.

Commit fee8f31

Browse files
committed
feat(types): 🏷️ add type for index, size and compare function
1 parent f67df53 commit fee8f31

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/types.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export type Index = number;
2+
export type Size = number;
3+
export type CompareFunction<ElementType> = (a: ElementType, b: ElementType) => number;

0 commit comments

Comments
 (0)