UNPKG

typed-fetcher

Version:
10 lines (9 loc) 260 B
import type { HttpClientBase, Url } from '../http-client/index'; type httpURLFn = (...args: any[]) => Url; export type EndpointsBase = { [key: string]: string | httpURLFn | EndpointsBase; }; export interface Http { client: HttpClientBase; } export {};