From 78c38362d2a559e8062c197093f465a7805573ee Mon Sep 17 00:00:00 2001 From: Ben Sterling <25365573+ben-styling@users.noreply.github.com> Date: Wed, 4 Oct 2023 14:24:13 +0100 Subject: [PATCH] fix: `stateHandlers` type for `VerifierOptions` --- src/dsl/verifier/types.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/dsl/verifier/types.ts b/src/dsl/verifier/types.ts index 8be9a3356..ca5c930da 100644 --- a/src/dsl/verifier/types.ts +++ b/src/dsl/verifier/types.ts @@ -14,5 +14,9 @@ export type PactNodeVerificationExcludedOptions = Pick< >; export type VerifierOptions = PactNodeVerificationExcludedOptions & - ProxyOptions & - Partial; + Omit & + Omit, 'stateHandlers'> & { + stateHandlers?: + | MessageProviderOptions['stateHandlers'] + | ProxyOptions['stateHandlers']; + };