UNPKG

formzilla

Version:

Fastify plugin for parsing multipart/form data

15 lines (14 loc) 401 B
import { File } from "./index"; import { Readable } from "stream"; import { FileInfo } from "busboy"; export declare class FileInternal implements File { field: string | undefined; originalName: string; encoding: string; mimeType: string; path: string | undefined; stream: Readable | undefined; data: Buffer | undefined; error: Error | undefined; constructor(name: string, info: FileInfo); }