react-timer-hook icon indicating copy to clipboard operation
react-timer-hook copied to clipboard

useStopwatch and useTime args are required

Open myin142 opened this issue 2 years ago • 0 comments

The arguments of useStopwatch and useTime are not optional, so it doesn't match the typescript definition. I would just make the arguments in index.d.ts not optional so it is clear that they are required.

myin142 avatar Jun 12 '22 11:06 myin142