UNPKG

353 BTypeScriptView Raw
1/// <reference types="node" />
2export interface FormDataEntry {
3 key: string;
4 value: string | Blob | Buffer;
5 fileName?: string;
6}
7export declare class FormData {
8 private _entries;
9 append(key: string, value: string | Blob | Buffer, fileName?: string): void;
10}
11export declare function getFormDataEntries(fd: FormData): FormDataEntry[];