Skip to content

Commit ab7c7fa

Browse files
committed
feat: add conversion from different interval types
BREAKING CHANGES: - curying is left to the user - only accept array of interval instead of handling both case - only accept type that extends { start: number; end: number }
1 parent e34ba90 commit ab7c7fa

File tree

3 files changed

+154
-515
lines changed

3 files changed

+154
-515
lines changed

src/data.structures.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
export type interval = IntervalSE | IntervalFT | IntervalAR;
21
export type roat<T> = ReadonlyArray<T>;
3-
export type roai = ReadonlyArray<interval>;
42

53
export interface IntervalSE {
64
start: number;

0 commit comments

Comments
 (0)