@types/connect-busboy
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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.

index.d.ts

/// <reference types="node" />

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/connect-busboy

Weekly Downloads

5,148

Version

1.0.3

License

MIT

Unpacked Size

4.1 kB

Total Files

5

Last publish

Collaborators

  • types