UNPKG

@jmfetchify/fetchify

Version:

A lightweight HTTP client library for client and server-side usage.

5 lines (4 loc) 217 B
import { IBaseFetch } from '../../core/interfaces'; export declare abstract class BaseFetch { protected request<T>({ token, baseURL, endpoint, method, options, body, timeOut, headers }: IBaseFetch): Promise<T>; }