UNPKG

262 BTypeScriptView Raw
1import * as FormData from "form-data";
2export declare function toArray<T>(maybeArr: T | T[]): T[];
3export declare function ensureJSON<T>(raw: T): T;
4export declare function createMultipartFormData(this: FormData | void, formBody: Record<string, any>): FormData;