mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Fix Travis CI failing because of "error TS7006: Parameter 'res' and 'next' implicitly have an 'any' type."
This commit is contained in:
1 parent
978ee56f6c
commit
88a59afc31
1 file changed
+1
-1
@@ -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');
|
||||
});
|
||||
Reference in new issue
Block a user