Skip to content

Commit 1baa539

Browse files
authored
types: Fix typings for cache.clear({ notify: false }) (TanStack#750)
1 parent 7dfa58a commit 1baa539

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ export interface QueryCache {
626626
): void
627627
isFetching: number
628628
subscribe(callback: (queryCache: QueryCache) => void): () => void
629-
clear(): void
629+
clear(options?: { notify?: boolean }): void
630630
resetErrorBoundaries: () => void
631631
}
632632

0 commit comments

Comments
 (0)