mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
23 lines
523 B
TypeScript
23 lines
523 B
TypeScript
// Type definitions for multy 0.1
|
|
// Project: https://github.com/eduardorfs/multy
|
|
// Definitions by: Jan Dolezel <https://github.com/dolezel>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.4
|
|
|
|
import * as Koa from "koa";
|
|
import * as busboy from "busboy";
|
|
|
|
declare module "koa" {
|
|
interface Request {
|
|
body: any;
|
|
}
|
|
}
|
|
|
|
declare namespace multy {
|
|
type Options = busboy.BusboyConfig;
|
|
}
|
|
|
|
declare function multy(opts?: multy.Options): Koa.Middleware;
|
|
|
|
export = multy;
|