1.0.3 • Published 2 years ago

@types/connect-busboy v1.0.3

Weekly downloads
3,642
License
MIT
Repository
github
Last release
2 years 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

2 years ago

1.0.1

2 years ago

1.0.3

2 years ago

1.0.0

3 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

6 years ago

0.0.1

6 years ago

0.0.0

7 years ago