npm install --save @types/express-to-koa
This package contains type definitions for express-to-koa (https://github.com/kaelzhang/express-to-koa).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-to-koa.
import { IncomingMessage, ServerResponse } from "http";
import * as Koa from "koa";
export = expressToKoa;
declare function expressToKoa(
middleware: (
req: IncomingMessage,
res: ServerResponse,
next: (err?: any) => void,
) => void,
): Koa.Middleware;
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: @types/koa
These definitions were written by Xiaohan Zhang.