npm install --save @types/express-busboy
This package contains type definitions for express-busboy (https://github.com/yahoo/express-busboy).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-busboy.
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;
- Last updated: Tue, 07 Nov 2023 03:09:36 GMT
- Dependencies: @types/connect-busboy, @types/express
These definitions were written by Pinguet62.