UNPKG

@gam-test/fetch-wrapper

Version:

A simple fetch wrapper for better error handling and less response context

9 lines (6 loc) 274 B
import { ClientConfigWithData } from '../ClientConfig.js'; import { HttpClient } from '../HttpClient.js'; declare class PostHttpClient extends HttpClient { connect<T, R>({ data, ...config }: ClientConfigWithData<T, R>): Promise<Response>; } export { PostHttpClient };