Return type of `setTimeout`/`setInterval` should not be rely on Node.js type
Closed this issue · 0 comments
jiftechnify commented
cf. https://stackoverflow.com/a/56239226
type Timeout = ReturnType<typeof setTimeout>
Closed this issue · 0 comments
cf. https://stackoverflow.com/a/56239226
type Timeout = ReturnType<typeof setTimeout>