import {Request, Response, NextFunction} from 'express'; const getWarning = () => (req: Request, res: Response, next: NextFunction) =>{ res.send("Get warning"); } export default getWarning;