Closed ghost closed 6 years ago
Hi! Thanks for reporting the issue. I'm not familiar with TypeScript and have no idea what the action to take here is. Would you be willing to make a pull request with the fix or perhaps walk me through what I would need to change to fix? Thanks!
Sorry, i don't know either. The best we can do now is create as ticket over at https://github.com/DefinitelyTyped/DefinitelyTyped
Closing issue if there isn't anything to fix in this module.
Hi,
When using the responseTime(fn) it throws some errors.
app.use(responseTime((req: Request, res: Response, time: any)
And you cannot add a nextFunction.