amrlabib / react-timer-hook

React timer hook
https://www.npmjs.com/package/react-timer-hook
MIT License
515 stars 112 forks source link

fix: Fix type for time returns; should have a `totalSeconds` property… #98

Closed kilokeith closed 1 year ago

kilokeith commented 1 year ago

… because Time.getTimeFromSeconds() returns it.

Fixes error caused by totalSeconds not being declared for the returns. Updated docs to reflect update.