UNPKG

@slan-health/taro-vueuse

Version:

taro vue版本hooks

14 lines (12 loc) 693 B
import { RouterInfo } from '@tarojs/taro'; export type TRecord<R = any> = { [_: string]: R; }; export type TAuthResultType = 'accept' | 'reject' | 'ban'; export type TNormalAction<T = TaroGeneral.CallbackResult> = () => Promise<T>; export type TGeneralCallback<T = TaroGeneral.CallbackResult, R = void> = (callbackResult: T) => R; export type TRouteInfo = RouterInfo<Partial<Record<string, string>>>; export type TPartialRouteInfo<R = {}> = TRouteInfo | R; export type { Options, Service } from './useRequest/core/types'; export type { DataType, LoadMoreBaseOptions, LoadMoreService, } from './useRequest/useLoadMore'; export type { PaginationOptions } from './useRequest/usePagination';