diff options
Diffstat (limited to 'server/helpers/custom-validators/misc.ts')
-rw-r--r-- | server/helpers/custom-validators/misc.ts | 10 |
1 files changed, 4 insertions, 6 deletions
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 { | |||
13 | isArray | 13 | isArray |
14 | } | 14 | } |
15 | 15 | ||
16 | declare global { | 16 | declare module 'express-validator' { |
17 | namespace ExpressValidator { | 17 | export interface Validator { |
18 | export interface Validator { | 18 | exists, |
19 | exists, | 19 | isArray |
20 | isArray | ||
21 | } | ||
22 | } | 20 | } |
23 | } | 21 | } |