UNPKG
shared-timers
Version:
latest (0.1.2)
0.1.2
0.1.1
0.1.0
Unthrottleable timers that work across tabs.
github.com/crabvk/shared-timers
shared-timers
/
dist
/
main.d.ts
8 lines
(4 loc)
•
197 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
export
declare
function
clearTimer
(
id
:
number
):
void
;
export
declare
function
runTimer
(
func
:
TimerFunction
,
delay
:
number
):
number
;
declare
type
TimerFunction
=
() =>
unknown
;
export
{ }