UNPKG
@taro-hooks/ahooks
Version:
canary (2.0.0-beta-serro.5)
latest (2.2.0)
2.2.0
2.1.0
2.0.11
2.0.10
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
2.0.0-beta-serro.150
2.0.0-beta-serro.149
2.0.0-beta-serro.148
2.0.0-beta-serro.146
2.0.0-beta-serro.5
2.0.0-beta-serro.3
ahooks for Taro
innocces.github.io/taro-hooks/packages/ahooks
innocces/taro-hooks
@taro-hooks/ahooks
/
lib
/
createUpdateEffect
/
index.d.ts
5 lines
(4 loc)
•
227 B
TypeScript
View Raw
1
2
3
4
5
import
type
{ useEffect, useLayoutEffect }
from
'@taro-hooks/core'
;
type
EffectHookType
=
typeof
useEffect |
typeof
useLayoutEffect;
export
declare
const
createUpdateEffect
:
(
hook
:
EffectHookType
) =>
EffectHookType
;
export
{};