From 46cb9e443891ccfb931ad823f9b6175aaa14e201 Mon Sep 17 00:00:00 2001 From: Vincenzo Chianese Date: Wed, 1 Apr 2020 17:42:26 -0500 Subject: [PATCH] Update index.d.ts (#43561) --- types/vhost/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;