-
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Hello 👋
I noticed the README contains a typescript declaration of:
useInterval(
callback: () => void,
delay: number,
immediate?: boolean /* called when mounted if true */
)
If I'm not mistaken, the delay type should be delay: number | null | false
useInterval(
callback: () => void,
delay: number | null | false,
immediate?: boolean /* called when mounted if true */
)
I tried to submit a pull request to fix it but I received a permission denied error. Thanks!
Metadata
Metadata
Assignees
Labels
No labels