Skip to content

Commit 0273210

Browse files
committed
chore: fix type error in tests
1 parent 5cd8471 commit 0273210

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-query/src/__tests__/useSuspenseQuery.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ describe('useSuspenseQuery', () => {
703703

704704
it('should render the correct amount of times in Suspense mode when gcTime is set to 0', async () => {
705705
const key = queryKey()
706-
let state: UseSuspenseQueryResult<number> | null = null
706+
let state: UseSuspenseQueryResult<number, Error | null> | null = null
707707

708708
let count = 0
709709
let renders = 0

0 commit comments

Comments
 (0)