UNPKG
@slan-health/taro-vueuse
Version:
latest (0.1.1)
0.1.1
0.1.0
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
taro vue版本hooks
@slan-health/taro-vueuse
/
dist
/
utils
/
types.d.ts
15 lines
(13 loc)
•
208 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import
{
Ref
}
from
'vue'
;
/** * Any function */
export
type
Fn
=
() =>
void
;
/** * Maybe it's a ref, or not. * * ```ts * type MaybeRef<T> = T | Ref<T> * ``` */
export
type
MaybeRef
<T> = T |
Ref
<T>;