1.0.3 • Published 6 months ago

@types/connect-busboy v1.0.3

Weekly downloads
3,642
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for connect-busboy 1.0
// Project: https://github.com/mscdex/connect-busboy
// Definitions by: Pinguet62 <https://github.com/pinguet62>
//                 Chris Gedrim <https://github.com/chrisgedrim>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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

import { BusboyConfig, Busboy } 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.

1.0.2

7 months ago

1.0.1

8 months ago

1.0.3

6 months ago

1.0.0

2 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

5 years ago

0.0.1

5 years ago

0.0.0

6 years ago