Skip to content

Commit 397fcfc

Browse files
authoredJan 20, 2025··
docs: prefer using satisfies instead of type cast in persistQueryClient docs (#8551)
1 parent d4d2466 commit 397fcfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docs/framework/react/plugins/persistQueryClient.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,6 @@ export function createIDBPersister(idbValidKey: IDBValidKey = 'reactQuery') {
283283
removeClient: async () => {
284284
await del(idbValidKey)
285285
},
286-
} as Persister
286+
} satisfies Persister
287287
}
288288
```

0 commit comments

Comments
 (0)
Please sign in to comment.