diff --git a/src/core/watchQueryOptions.ts b/src/core/watchQueryOptions.ts index 9efbf22805c..f03448a73a0 100644 --- a/src/core/watchQueryOptions.ts +++ b/src/core/watchQueryOptions.ts @@ -211,7 +211,7 @@ export interface UpdateQueryMapFn< * argument will be removed in the next major version of Apollo Client. Use * `options.previousData` instead for a more type-safe value. */ - previousData: Unmasked, + unsafePreviousData: Unmasked, options: UpdateQueryOptions ): Unmasked | void; } @@ -227,7 +227,7 @@ export type SubscribeToMoreUpdateQueryFn< * argument will be removed in the next major version of Apollo Client. Use * `options.previousData` instead for a more type-safe value. */ - previousData: Unmasked, + unsafePreviousData: Unmasked, options: UpdateQueryOptions & { subscriptionData: { data: Unmasked }; }