UNPKG

taro-hooks

Version:
9 lines (8 loc) 315 B
import type { PromiseAction, PromiseWithoutOptionAction } from '../type'; export type Get = PromiseWithoutOptionAction<Taro.getWeRunData.SuccessCallbackResult>; export type Share = PromiseAction<Taro.shareToWeRun.record[]>; declare function useWeRun(): { get: Get; share: Share; }; export default useWeRun;