refactor: add strict type imports
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { RequestHandler } from "express";
|
import type { RequestHandler } from "express";
|
||||||
import createHttpError from "http-errors";
|
import createHttpError from "http-errors";
|
||||||
|
|
||||||
const notFoundHandler: RequestHandler = (req, res, next) => {
|
const notFoundHandler: RequestHandler = (req, res, next) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user