Skip to content

Commit

Permalink
fix: stateHandlers type for VerifierOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-styling committed Oct 4, 2023
1 parent 9bb0d10 commit 78c3836
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/dsl/verifier/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,9 @@ export type PactNodeVerificationExcludedOptions = Pick<
>;

export type VerifierOptions = PactNodeVerificationExcludedOptions &
ProxyOptions &
Partial<MessageProviderOptions>;
Omit<ProxyOptions, 'stateHandlers'> &
Omit<Partial<MessageProviderOptions>, 'stateHandlers'> & {
stateHandlers?:
| MessageProviderOptions['stateHandlers']
| ProxyOptions['stateHandlers'];
};

0 comments on commit 78c3836

Please sign in to comment.