Files
DefinitelyTyped/types/vhost/index.d.ts

11 lines
366 B
TypeScript

// Type definitions for vhost 3.0
// Project: https://github.com/expressjs/vhost
// Definitions by: Vincenzo Chianese <https://github.com/XVincentX>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import express = require('express');
declare function vhost(hostname: string | RegExp, handler: express.Handler): express.Handler;
export = vhost;