Installation
npm install --save @types/express-busboy
Summary
This package contains type definitions for express-busboy (https://github.com/yahoo/express-busboy).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-busboy.
index.d.ts
import * as connectBusboy from "connect-busboy";
import * as express from "express";
export interface ExpressBusboyOptions extends connectBusboy.ConnectBusboyOptions {
upload?: boolean;
path?: string;
allowedPath?: string | RegExp | ((url: string) => boolean);
restrictMultiple?: boolean;
mimeTypeLimit?: string | string[];
strip?: (value: string, type?: string) => string;
}
export function extend(app: express.Application, options?: ExpressBusboyOptions): express.Application;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:36 GMT
- Dependencies: @types/connect-busboy, @types/express
Credits
These definitions were written by Pinguet62.