diff --git a/types/vhost/index.d.ts b/types/vhost/index.d.ts index a26e8e662f..6a19d9c965 100644 --- a/types/vhost/index.d.ts +++ b/types/vhost/index.d.ts @@ -5,6 +5,6 @@ import express = require('express'); -declare function vhost(hostname: string, handler: express.Handler): string; +declare function vhost(hostname: string | RegExp, handler: express.Handler): string; export = vhost;