query/dist/adapter.d.ts

9 lines
211 B
TypeScript

type AdapterOpts = {
url: string;
headers?: Record<string, string>;
body?: Record<string, any>;
timeout?: number;
};
export declare const adapter: (opts: AdapterOpts) => Promise<any>;
export {};