@types/express-to-koa
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Installation

npm install --save @types/express-to-koa

Summary

This package contains type definitions for express-to-koa (https://github.com/kaelzhang/express-to-koa).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-to-koa.

index.d.ts

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;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: @types/koa

Credits

These definitions were written by Xiaohan Zhang.

/@types/express-to-koa/

    Package Sidebar

    Install

    npm i @types/express-to-koa

    Weekly Downloads

    2,363

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    3.24 kB

    Total Files

    5

    Last publish

    Collaborators

    • types