DefinitelyTyped/types/express-sanitized/index.d.ts
Alexandre f8d0b72ff4 Allow typing Express body, params, query and cookies through generics (#20820)
* Allow typing express body, params, query and cookies through generics

* Increase minor version

* Add ts version comment

* Fix ts requirement comment typo

* Bump all ts version packages

* Bump Morgan package
2017-10-23 17:23:31 -07:00

13 lines
457 B
TypeScript

// Type definitions for express-sanitized 0.5
// Project: https://github.com/askhogan/express-sanitized
// Definitions by: Chris Barth <https://github.com/cjbarth>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
import * as express from "express";
type e = () => (req: express.Request, res: express.Response, next: express.NextFunction) => void;
declare const expressSanitized: e;
export = expressSanitized;