Installation
npm install --save @types/connect-busboy
Summary
This package contains type definitions for connect-busboy (https://github.com/mscdex/connect-busboy).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/connect-busboy.
import { Busboy, BusboyConfig } from "busboy";
import { RequestHandler } from "express";
import * as http from "http";
declare function connectBusboy(options?: connectBusboy.ConnectBusboyOptions): RequestHandler;
declare namespace connectBusboy {
interface ConnectBusboyOptions extends BusboyConfig {
immediate?: boolean | undefined;
}
}
declare global {
namespace Express {
interface Request {
busboy: Busboy;
}
}
}
export = connectBusboy;
Additional Details
Credits
These definitions were written by Pinguet62, and Chris Gedrim.