parse-body.d.ts 348 B

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