diff --git a/src/testing/core/mocking/mockLink.ts b/src/testing/core/mocking/mockLink.ts index 892437f75ec..0cd73a6c2d1 100644 --- a/src/testing/core/mocking/mockLink.ts +++ b/src/testing/core/mocking/mockLink.ts @@ -49,6 +49,10 @@ export interface MockedResponse< | ResultFunction>, TVariables>; error?: Error; delay?: number; + /** + * @deprecated `variableMatcher` will be removed in Apollo Client 4.0. Please use the + * `request.variables` option with a callback function instead to get the same behavior. + */ variableMatcher?: VariableMatcher; /** * @deprecated `newData` will be removed in Apollo Client 4.0. Please use the