quickbuild
Version:
A mature, feature-complete application generator with an emphasis on speed
19 lines (14 loc) • 341 B
TypeScript
/// <reference types="express" />
/**
* This type definition augments existing definition
* from @types/express-flash
*/
declare namespace Express {
export interface Request {
flash(event: string, message: any): any;
}
}
interface Flash {
flash(type: string, message: any): void;
}
declare module "express-flash";