vue-hooks-plus
Version:
Vue hooks library
7 lines (6 loc) • 386 B
TypeScript
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;