Fix Travis CI failing because of "error TS7006: Parameter 'res' and 'next' implicitly have an 'any' type."

This commit is contained in:
Andreas Gassmann
2015-04-14 10:43:06 +02:00
parent 978ee56f6c
commit 88a59afc31
+1 -1
View File
@@ -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');
});