Skip to content

Commit dfa4dc9

Browse files
authored
fix(types): Fix typo in PersistQueryClientRootOptions (TanStack#6698)
1 parent 3a127bf commit dfa4dc9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/query-persist-client-core/src/persist.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export interface PersistedClient {
2121
clientState: DehydratedState
2222
}
2323

24-
export interface PersistQueryClienRootOptions {
24+
export interface PersistQueryClientRootOptions {
2525
/** The QueryClient to persist */
2626
queryClient: QueryClient
2727
/** The Persister interface for storing and restoring the cache
@@ -33,7 +33,7 @@ export interface PersistQueryClienRootOptions {
3333
}
3434

3535
export interface PersistedQueryClientRestoreOptions
36-
extends PersistQueryClienRootOptions {
36+
extends PersistQueryClientRootOptions {
3737
/** The max-allowed age of the cache in milliseconds.
3838
* If a persisted cache is found that is older than this
3939
* time, it will be discarded */
@@ -43,15 +43,15 @@ export interface PersistedQueryClientRestoreOptions
4343
}
4444

4545
export interface PersistedQueryClientSaveOptions
46-
extends PersistQueryClienRootOptions {
46+
extends PersistQueryClientRootOptions {
4747
/** The options passed to the dehydrate function */
4848
dehydrateOptions?: DehydrateOptions
4949
}
5050

5151
export interface PersistQueryClientOptions
5252
extends PersistedQueryClientRestoreOptions,
5353
PersistedQueryClientSaveOptions,
54-
PersistQueryClienRootOptions {}
54+
PersistQueryClientRootOptions {}
5555

5656
/**
5757
* Checks if emitted event is about cache change and not about observers.

0 commit comments

Comments
 (0)