Skip to content

Commit

Permalink
fix type definition to allow custom options for event store implement…
Browse files Browse the repository at this point in the history
…ations
  • Loading branch information
alex-laycalvert authored and oskardudycz committed Oct 23, 2024
1 parent 99868e9 commit a03cb2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packages/emmett/src/commandHandling/handleCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const CommandHandler =
| StreamEvent[]
| Promise<StreamEvent>
| Promise<StreamEvent[]>,
handleOptions?: HandleOptions<StreamVersion, EventStore<StreamVersion>>,
handleOptions?: HandleOptions<StreamVersion, Store>,
): Promise<CommandHandlerResult<State, StreamEvent, StreamVersion>> =>
asyncRetry(
async () => {
Expand Down

0 comments on commit a03cb2c

Please sign in to comment.