From 94dd071fe503da8a4bd3a2d04dcf851afd9db6c7 Mon Sep 17 00:00:00 2001 From: Ritesh Ghosh Date: Wed, 22 Nov 2023 13:43:04 +0530 Subject: refactor: add strict type imports --- src/config/errorHandler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/config/errorHandler.ts b/src/config/errorHandler.ts index e983f34..560f141 100644 --- a/src/config/errorHandler.ts +++ b/src/config/errorHandler.ts @@ -1,4 +1,4 @@ -import { ErrorRequestHandler } from "express"; +import type { ErrorRequestHandler } from "express"; const errorHandler: ErrorRequestHandler = (error, req, res, next) => { const status = error?.status || 500; -- cgit v1.2.3