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.
2 parents ee81bda + ef86f81 commit c6ec800Copy full SHA for c6ec800
index.d.ts
@@ -465,7 +465,7 @@ declare module "moleculer-web" {
465
* In handlers, you must call the `res.end`. Otherwise, the request is unhandled.
466
* @see https://moleculer.services/docs/0.14/moleculer-web.html#Error-handlers
467
*/
468
- onError?: (req: IncomingMessage, res: ServerResponse, error: Error) => void;
+ onError?: (req: IncomingRequest, res: ServerResponse, error: Error) => void;
469
/**
470
* The Moleculer-Web has a built-in rate limiter with a memory store.
471
* @see https://moleculer.services/docs/0.14/moleculer-web.html#Rate-limiter
0 commit comments