From 1524218755eb40a3d4b9d2b4b997fc06850fb7e2 Mon Sep 17 00:00:00 2001 From: 0x0a0d Date: Tue, 26 Sep 2023 00:43:43 +0700 Subject: [PATCH] imp(index.d.ts): middleware serviceCreating params --- index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/index.d.ts b/index.d.ts index 606b51ffc..c6dbcf354 100644 --- a/index.d.ts +++ b/index.d.ts @@ -667,6 +667,7 @@ declare namespace Moleculer { | ((handler: ActionHandler, event: ServiceEvent) => any) | ((handler: ActionHandler) => any) | ((service: Service) => any) + | ((service: Service, serviceSchema: ServiceSchema) => any) | ((broker: ServiceBroker) => any) | ((handler: CallMiddlewareHandler) => CallMiddlewareHandler); };