UNPKG

vue-hooks-plus

Version:
7 lines (6 loc) 386 B
import type { InjectionKey } from 'vue'; import type { UseRequestOptions } from './types'; export declare const USEREQUEST_GLOBAL_OPTIONS_PROVIDE_KEY: InjectionKey<string>; export declare const setGlobalOptions: (config: UseRequestOptions<unknown, any, []>) => void; export declare const getGlobalOptions: () => Record<string, any>; export declare const clearGlobalOptions: () => void;