UNPKG

simple-fetch-ts

Version:

`simple-fetch-ts` is a TypeScript library designed to simplify HTTP requests using a builder-pattern approach. It provides a fluent API for creating, configuring, and executing various HTTP methods (`GET`, `POST`, `PUT`, `PATCH`, `DELETE`) with type safet

6 lines (5 loc) 145 B
export declare class InvalidMethodBodyError extends Error { method: string; url: string; constructor(method: string, url: string); }