From 5c8178d4b4aa713563cd336c350ec5082e508a90 Mon Sep 17 00:00:00 2001 From: Dileepa Mabulage Date: Mon, 5 Aug 2024 09:20:57 +0530 Subject: [PATCH] update types --- src/middlewares/requestValidator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/middlewares/requestValidator.ts b/src/middlewares/requestValidator.ts index f3eefc8..4a2cd72 100644 --- a/src/middlewares/requestValidator.ts +++ b/src/middlewares/requestValidator.ts @@ -1,4 +1,4 @@ -import { NextFunction, Request, Response } from 'express' +import { type NextFunction, type Request, type Response } from 'express' import { ZodError, type ZodSchema } from 'zod' export const requestBodyValidator = (schema: ZodSchema) => {