DefinitelyTyped/types/express-flash/index.d.ts
Ian Mobley 2eaf80dd72 Add basic express-flash definition
express-flash just implements connenct-flash so there is no need to
define anything beside the single RequestHandler function that it
exports.
2018-04-03 13:42:25 -07:00

12 lines
390 B
TypeScript

// Type definitions for express-flash 0.0
// Project: https://github.com/RGBboy/express-flash
// Definitions by: Ian Mobley <https://github.com/iMobs>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
/// <reference types="connect-flash" />
import express = require('express');
declare function flash(): express.RequestHandler;
export = flash;