UNPKG

@octokit/webhooks

Version:

GitHub webhook events toolset for Node.js

4 lines (3 loc) 277 B
import type { Webhooks } from "../../index.ts"; import type { MiddlewareOptions } from "../types.ts"; export declare function createWebMiddleware(webhooks: Webhooks, { path, log, timeout, }?: MiddlewareOptions): (request: any, response?: any, next?: Function) => Promise<any>;