style: address linter warnings

This commit is contained in:
Kamil Myśliwiec
2025-07-14 13:37:13 +02:00
parent 4d436f0c2d
commit 436e1de258
2 changed files with 3 additions and 2 deletions

View File

@@ -69,12 +69,12 @@ export class ExpressAdapter extends AbstractHttpAdapter<
this.instance!.use((req, res, next) => {
if (this.onResponseHook) {
res.on('finish', () => {
this.onResponseHook!.apply(this, [req, res]);
void this.onResponseHook!.apply(this, [req, res]);
});
}
if (this.onRequestHook) {
this.onRequestHook.apply(this, [req, res, next]);
void this.onRequestHook.apply(this, [req, res, next]);
} else {
next();
}