UNPKG

@clickup/rest-client

Version:

A syntax sugar tool around Node fetch() API, tailored to work with TypeScript and response validators

8 lines 336 B
/// <reference types="node" /> import type { Response } from "node-fetch"; /** * Tries its best to infer the encoding of the Response, falling back to UTF-8 * as an opinionated default value on failure. */ export default function inferResBodyEncoding(res: Response): BufferEncoding; //# sourceMappingURL=inferResBodyEncoding.d.ts.map