1
0
mirror of https://github.com/microsoft/TypeScript-Node-Starter.git synced 2026-03-22 17:39:43 +00:00
Files
TypeScript-Node-Starter/src/types/express-flash.d.ts
Bowden Kelly 6625b87b19 initial commit
2017-05-09 13:28:09 -07:00

15 lines
275 B
TypeScript

/// <reference types="express" />
// Add RequestValidation Interface on to Express's Request Interface.
declare namespace Express {
interface Request extends Flash {}
}
interface Flash {
flash(type: string, message: any): void;
}
declare module "express-flash";