UNPKG

@octokit/webhooks

Version:

GitHub webhook events toolset for Node.js

7 lines (6 loc) 328 B
type IncomingMessage = any; type ServerResponse = any; import { Webhooks } from "../../index"; import { MiddlewareOptions } from "./types"; export declare function middleware(webhooks: Webhooks, options: Required<MiddlewareOptions>, request: IncomingMessage, response: ServerResponse, next?: Function): Promise<any>; export {};