mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
fix express.NextFunction
This commit is contained in:
@@ -68,3 +68,6 @@ app.use((req, res, next) => {
|
||||
app.use(router);
|
||||
|
||||
app.listen(3000);
|
||||
|
||||
const next: express.NextFunction = () => {};
|
||||
const nextWithArgument: express.NextFunction = (err: any) => {};
|
||||
|
||||
Reference in New Issue
Block a user