Skip to content

Commit

Permalink
build: update to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
overflowz committed Sep 24, 2020
1 parent 58113d5 commit b0c6818
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dist/interface.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ export interface IDomainEventHandler<T extends IDomainEvent> {
complete?: (event: T, children: readonly IDomainEvent[]) => CompleteReturnType<T>;
}
export interface IDomainEventHooks {
beforeInvoke?: <T extends IDomainEvent>(event: DeepReadonly<T>) => void | Promise<void> | T | Promise<T>;
beforeInitiate?: <T extends IDomainEvent>(event: DeepReadonly<T>) => void | Promise<void> | T | Promise<T>;
beforeInvoke?: <T extends IDomainEvent>(event: DeepReadonly<T>) => void | Promise<void> | DeepReadonly<T> | Promise<DeepReadonly<T>>;
beforeInitiate?: <T extends IDomainEvent>(event: DeepReadonly<T>) => void | Promise<void> | DeepReadonly<T> | Promise<DeepReadonly<T>>;
afterInitiate?: <T extends IDomainEvent>(event: DeepReadonly<T>) => void | Promise<void>;
beforeExecute?: <T extends IDomainEvent>(event: DeepReadonly<T>) => void | Promise<void> | T | Promise<T>;
beforeExecute?: <T extends IDomainEvent>(event: DeepReadonly<T>) => void | Promise<void> | DeepReadonly<T> | Promise<DeepReadonly<T>>;
afterExecute?: <T extends IDomainEvent>(event: DeepReadonly<T>) => void | Promise<void>;
beforeComplete?: <T extends IDomainEvent>(event: DeepReadonly<T>) => void | Promise<void> | T | Promise<T>;
beforeComplete?: <T extends IDomainEvent>(event: DeepReadonly<T>) => void | Promise<void> | DeepReadonly<T> | Promise<DeepReadonly<T>>;
afterComplete?: <T extends IDomainEvent>(event: DeepReadonly<T>) => void | Promise<void>;
afterInvoke?: <T extends IDomainEvent>(event: DeepReadonly<T>) => void | Promise<void>;
}
Expand Down

0 comments on commit b0c6818

Please sign in to comment.