From 88a59afc31807fac8a09f8edf89b31b22161ab96 Mon Sep 17 00:00:00 2001 From: Andreas Gassmann Date: Tue, 14 Apr 2015 10:43:06 +0200 Subject: [PATCH] Fix Travis CI failing because of "error TS7006: Parameter 'res' and 'next' implicitly have an 'any' type." --- connect-flash/connect-flash-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connect-flash/connect-flash-tests.ts b/connect-flash/connect-flash-tests.ts index 6d672c33d..303c12647 100644 --- a/connect-flash/connect-flash-tests.ts +++ b/connect-flash/connect-flash-tests.ts @@ -10,7 +10,7 @@ app.use(flash({ unsafe: false })); -app.use(function(req: Express.Request, res, next) { +app.use(function(req: Express.Request, res: Express.Response, next: Function) { req.flash('Message'); req.flash('info', 'Message'); });