diff options
| author | Ritesh Ghosh <[email protected]> | 2023-11-22 13:43:04 +0530 |
|---|---|---|
| committer | Ritesh Ghosh <[email protected]> | 2023-11-22 13:43:04 +0530 |
| commit | 94dd071fe503da8a4bd3a2d04dcf851afd9db6c7 (patch) | |
| tree | 2c23b6b2c17906e6b9c10740b1b37913d2ecce3c /src/config | |
| parent | 29661350f07057413bb45e5f617d3628cc15efb5 (diff) | |
| download | aniwatch-api-94dd071fe503da8a4bd3a2d04dcf851afd9db6c7.tar.xz aniwatch-api-94dd071fe503da8a4bd3a2d04dcf851afd9db6c7.zip | |
refactor: add strict type imports
Diffstat (limited to 'src/config')
| -rw-r--r-- | src/config/errorHandler.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
