mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-21 21:31:12 +08:00
20 lines
553 B
TypeScript
20 lines
553 B
TypeScript
// Type definitions for koa-mount v2.0.0
|
|
// Project: https://github.com/koajs/mount
|
|
// Definitions by: AmirSaber Sharifi <https://github.com/amirsaber>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
|
|
import * as Koa from "koa";
|
|
|
|
declare function mount(app: Koa.Middleware): Koa.Middleware;
|
|
|
|
declare function mount(app: Koa): Koa.Middleware;
|
|
|
|
declare function mount(prefix: string, app: Koa.Middleware): Koa.Middleware;
|
|
|
|
declare function mount(prefix: string, app: Koa): Koa.Middleware;
|
|
|
|
declare namespace mount { }
|
|
|
|
export = mount;
|