UNPKG
ahooks-v2
Version:
latest (2.10.15)
2.10.15
2.10.13
react hooks library
github.com/alibaba/hooks
alibaba/hooks
ahooks-v2
/
lib
/
useInterval
/
index.d.ts
5 lines
(4 loc)
•
154 B
TypeScript
View Raw
1
2
3
4
5
declare
function
useInterval
(
fn
: () =>
void
,
delay
:
number
|
null
|
undefined
,
options
?: { immediate?:
boolean
; }
):
void
;
export
default
useInterval;