Skip to content

Commit 5c5ba73

Browse files
authored
Merge pull request #54 from ydhn/master
add autoStart in TimerSettings
2 parents 2ad2650 + 589a50a commit 5c5ba73

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-timer-hook",
3-
"version": "3.0.3",
3+
"version": "3.0.4",
44
"description": "React timer hook is a custom react hook built to handle timers(countdown), stopwatch and time logic/state in your react component.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
interface TimerSettings {
2+
autoStart?: boolean;
23
expiryTimestamp: number;
34
onExpire?: () => void;
45
}

0 commit comments

Comments
 (0)