mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-24 01:32:46 +00:00
14 lines
443 B
TypeScript
14 lines
443 B
TypeScript
// Type definitions for koa-convert 1.2
|
|
// Project: https://github.com/koajs/convert, https://github.com/gyson/koa-convert
|
|
// Definitions by: Daniel Byrne <https://github.com/danwbyrne>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.3
|
|
|
|
import { Context, Middleware, Next } from "koa";
|
|
|
|
declare function convert(
|
|
mw: (context: Context, next: Next) => Generator
|
|
): Middleware;
|
|
|
|
export = convert;
|