Skip to content

Commit

Permalink
docs: prefer using satisfies instead of type cast in persistQueryClie…
Browse files Browse the repository at this point in the history
…nt docs (#8551)
  • Loading branch information
ruudandriessen authored Jan 20, 2025
1 parent d4d2466 commit 397fcfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/framework/react/plugins/persistQueryClient.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,6 @@ export function createIDBPersister(idbValidKey: IDBValidKey = 'reactQuery') {
removeClient: async () => {
await del(idbValidKey)
},
} as Persister
} satisfies Persister
}
```

0 comments on commit 397fcfc

Please sign in to comment.