This repository has been archived on 2020-11-02. You can view files and clone it, but cannot push or open issues or pull requests.

4 lines
334 B
TypeScript
Raw Normal View History

import { ResponseType, Response, ParseJsonFunction } from './types';
declare const parseBody: (response: Response, responseType: ResponseType, parseJson: ParseJsonFunction, encoding?: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | undefined) => unknown;
export default parseBody;