diff --git a/index.d.ts b/index.d.ts index 9a470a664..41f0e0a25 100644 --- a/index.d.ts +++ b/index.d.ts @@ -721,7 +721,7 @@ declare namespace Moleculer { version?: string | number; } - type StartedStoppedHandler = () => Promise | void; + type StartedStoppedHandler = () => Promise | Promise | void; interface ServiceSchema { name: string; version?: string | number;