We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 085d8bd commit d7c7e29Copy full SHA for d7c7e29
tests/esm/fixtures/express/server.ts
@@ -17,7 +17,7 @@ app.use((req: any, res: any, next: express.NextFunction) => {
17
req.stringValue = 'fancyStringForContext';
18
next();
19
});
20
-RegisterRoutes(app);
+if (RegisterRoutes) RegisterRoutes(app);
21
22
// It's important that this come after the main routes are registered
23
app.use((err: any, req: express.Request, res: express.Response, next: express.NextFunction) => {
0 commit comments