Skip to content

Commit

Permalink
change mcall options on context from CallingOptions to MCallCallingOp…
Browse files Browse the repository at this point in the history
…tions
  • Loading branch information
0x0a0d committed Jul 19, 2021
1 parent 699f1ff commit 89c0938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ declare namespace Moleculer {
call<T>(actionName: string): Promise<T>;
call<T, P>(actionName: string, params: P, opts?: CallingOptions): Promise<T>;

mcall<T>(def: Array<MCallDefinition> | { [name: string]: MCallDefinition }, opts?: CallingOptions): Promise<Array<T> | T>;
mcall<T>(def: Array<MCallDefinition> | { [name: string]: MCallDefinition }, opts?: MCallCallingOptions): Promise<Array<T> | T>;

emit<D>(eventName: string, data: D, opts: GenericObject): Promise<void>;
emit<D>(eventName: string, data: D, groups: Array<string>): Promise<void>;
Expand Down

0 comments on commit 89c0938

Please sign in to comment.