Skip to content

Commit

Permalink
fix: 馃悰 refetch queries type (#481)
Browse files Browse the repository at this point in the history
Co-authored-by: dannying <ddonchuk@shakuro.com>
  • Loading branch information
danny1ng and dannying committed May 12, 2020
1 parent 840020f commit eae537d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ export interface QueryCache {
key: AnyQueryKey | string,
dataOrUpdater: unknown | ((oldData: unknown | undefined) => unknown)
): void
refetchQueries(
refetchQueries<TResult>(
queryKeyOrPredicateFn:
| AnyQueryKey
| string
Expand All @@ -682,7 +682,7 @@ export interface QueryCache {
throwOnError,
force,
}?: { exact?: boolean; throwOnError?: boolean; force?: boolean }
): Promise<void>
): Promise<TResult>
removeQueries(
queryKeyOrPredicateFn:
| AnyQueryKey
Expand Down

0 comments on commit eae537d

Please sign in to comment.