Skip to content

Commit

Permalink
fix: expect ts error on includeMutations: false for now
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge committed Jul 22, 2024
1 parent 3125534 commit 971f3cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/sanity/src/core/preview/createGlobalListener.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export function createGlobalListener(client: SanityClient) {
events: ['welcome', 'mutation'],
includeResult: false,
includePreviousRevision: false,
// @ts-expect-error - will be enabled by https://github.com/sanity-io/client/pull/872
includeMutations: false,
visibility: 'query',
effectFormat: 'mendoza',
Expand Down

0 comments on commit 971f3cf

Please sign in to comment.