@cashfarm/tractor
Version:
A Hapi server with superpowers
16 lines (15 loc) • 437 B
TypeScript
import * as Hapi from 'hapi';
import { IController } from '../interfaces';
/**
* Catch-all controller
*
* This controller's route `notFound` will catch any request for
* routes that are not matched by any existing controller
*
* @export
* @class NotFoundCtrl
* @implements {IController}
*/
export declare class NotFoundCtrl implements IController {
notFound(req: Hapi.Request, reply: Hapi.ReplyNoContinue): Hapi.Response;
}