got
Version:
Human-friendly and powerful HTTP request library for Node.js
9 lines (8 loc) • 326 B
TypeScript
/// <reference types="node" resolution-mode="require"/>
import type { Readable } from 'node:stream';
type FormData = {
getBoundary: () => string;
getLength: (callback: (error: Error | null, length: number) => void) => void;
} & Readable;
export default function isFormData(body: unknown): body is FormData;
export {};