diff --git a/src/v3/matchers.ts b/src/v3/matchers.ts index 13378a4f7..6c415c53b 100644 --- a/src/v3/matchers.ts +++ b/src/v3/matchers.ts @@ -436,18 +436,18 @@ export function arrayContaining( }; } -export interface ProviderStateInjectedValue extends Matcher { +export interface ProviderStateInjectedValue extends Matcher { expression: string; } /** - * Marks a item as to be injected from the provider state + * Marks an item to be injected from the provider state * @param expression Expression to lookup in the provider state context * @param exampleValue Example value to use in the consumer test */ export function fromProviderState( expression: string, - exampleValue: string + exampleValue: AnyJson ): ProviderStateInjectedValue { return { 'pact:matcher:type': 'type',