UNPKG

@directus/api

Version:

Directus is a real-time API and App dashboard for managing SQL database content

15 lines (14 loc) 394 B
import type { RequestHandler } from 'express'; /** * Handles not found routes. * * - If a hook throws an error, the error gets forwarded to the error handler. * - If a hook returns true, the handler assumes the response has been * processed and won't generate a response. * * @param req * @param res * @param next */ declare const notFound: RequestHandler; export default notFound;