Skip to content

Commit 9f836a0

Browse files
committed
feat: add PromiseLike<void> run return type
1 parent 58be4a4 commit 9f836a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export namespace Firebot {
185185
getDefaultParameters(): DefaultParametersConfig<P>;
186186
run(
187187
runRequest: RunRequest<P>
188-
): void | ScriptReturnObject | Promise<ScriptReturnObject>;
188+
): void | PromiseLike<void> | ScriptReturnObject | Promise<ScriptReturnObject>;
189189
};
190190

191191
type EffectType<EffectModel> = Effects.EffectType<EffectModel>;

0 commit comments

Comments
 (0)