mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Fix Travis CI failing because of "error TS7006: Parameter 'res' and 'next' implicitly have an 'any' type."
This commit is contained in:
parent
978ee56f6c
commit
88a59afc31
@ -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');
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user