(...args: RouterMethodParams<Req, Res>)
| 230 | } |
| 231 | |
| 232 | all(...args: RouterMethodParams<Req, Res>) { |
| 233 | const handlers = args.slice(1).flat() as Handler<Req, Res>[] |
| 234 | |
| 235 | pushMiddleware(this.middleware)({ |
| 236 | path: args[0], |
| 237 | handler: handlers[0], |
| 238 | handlers: handlers.slice(1), |
| 239 | type: 'route' |
| 240 | }) |
| 241 | |
| 242 | return this |
| 243 | } |
| 244 | |
| 245 | /** |
| 246 | * Return the app's absolute pathname |
no test coverage detected