InputFile
typeThis object represents the contents of a file to be uploaded. Must be posted using multipart/form-data in the usual way that files are uploaded via the browser.
Declaration
type InputFile = Blob | Buffer | NodeJS.ReadableStream | {
name: string;
data: Blob | Buffer | NodeJS.ReadableStream;
};