From 556ddc319242aafef51bae9301423ecf8701a3af Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 25 Aug 2017 18:36:49 +0200 Subject: Upgrade common server dependencies --- server/helpers/custom-validators/misc.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'server/helpers/custom-validators/misc.ts') diff --git a/server/helpers/custom-validators/misc.ts b/server/helpers/custom-validators/misc.ts index b1291ba7a..f6bb02c8e 100644 --- a/server/helpers/custom-validators/misc.ts +++ b/server/helpers/custom-validators/misc.ts @@ -13,11 +13,9 @@ export { isArray } -declare global { - namespace ExpressValidator { - export interface Validator { - exists, - isArray - } +declare module 'express-validator' { + export interface Validator { + exists, + isArray } } -- cgit v1.2.3