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.
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
Credits
These definitions were written by Pinguet62.