jsm-core
Version:
Core library for JSM project
8 lines (7 loc) • 317 B
TypeScript
import { Request, Response, NextFunction } from "express";
/**
* @description Middleware to handle 404 errors
* @returns {NextFunction} The next function to be called
*/
declare const endpointNotFoundHandler: () => (req: Request, res: Response, next: NextFunction) => void;
export default endpointNotFoundHandler;