UNPKG

@slan-health/taro-vueuse

Version:

taro vue版本hooks

15 lines (13 loc) 208 B
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>;