UNPKG

probot

Version:

A framework for building GitHub Apps to automate and improve your workflow

10 lines (9 loc) 337 B
import { Router } from "express"; /** * Get an {@link http://expressjs.com|express} router that can be used to * expose HTTP endpoints * * @param path - the prefix for the routes * @returns an [express.Router](http://expressjs.com/en/4x/api.html#router) */ export declare function getRouter(router: Router, path?: string): Router;