Skip to content

Commit 0acc461

Browse files
committed
add isRunning in typescript definitions
1 parent 8564e11 commit 0acc461

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ interface TimerResult {
88
minutes: number;
99
hours: number;
1010
days: number;
11+
isRunning: boolean;
1112
start: () => void;
1213
pause: () => void;
1314
resume: () => void;
@@ -25,6 +26,7 @@ interface StopwatchResult {
2526
minutes: number;
2627
hours: number;
2728
days: number;
29+
isRunning: boolean;
2830
start: () => void;
2931
pause: () => void;
3032
reset: () => void;

0 commit comments

Comments
 (0)