@anb98/react-hooks
Version:
Custom hooks for react
13 lines (12 loc) • 337 B
TypeScript
interface Globals {
baseURL: string;
headers: any;
withCredentials: boolean;
}
export declare const globals: Globals;
declare const _default: ({ baseURL, headers, withCredentials, }: Partial<Globals>) => Globals & {
baseURL: string;
headers: any;
withCredentials: boolean;
};
export default _default;