mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
Added type for options for better backward compatibility in future
This commit is contained in:
6
types/multy/index.d.ts
vendored
6
types/multy/index.d.ts
vendored
@@ -13,8 +13,10 @@ declare module "koa" {
|
||||
}
|
||||
}
|
||||
|
||||
declare function multy(opts?: busboy.BusboyConfig): Koa.Middleware;
|
||||
declare namespace multy {
|
||||
type Options = busboy.BusboyConfig;
|
||||
}
|
||||
|
||||
declare namespace multy {}
|
||||
declare function multy(opts?: multy.Options): Koa.Middleware;
|
||||
|
||||
export = multy;
|
||||
|
||||
Reference in New Issue
Block a user