UNPKG

@jmfetchify/fetchify

Version:

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

8 lines (7 loc) 226 B
import { HTTP_METHDOS } from "../../core/enums"; type CreateBody = { method: HTTP_METHDOS; body: unknown; }; export declare const createBody: ({ method, body }: CreateBody) => string | FormData | undefined; export {};