Skip to content

Commit 6984adc

Browse files
committed
fix tsc error after rebasing lastest beta branch
1 parent 05e26ae commit 6984adc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/reactjs/tests/useQuery.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5679,10 +5679,10 @@ describe('useQuery', () => {
56795679

56805680
it('it should have status=error on mount when a query has failed', async () => {
56815681
const key = queryKey()
5682-
const states: UseQueryResult<number>[] = []
5682+
const states: UseQueryResult<unknown>[] = []
56835683
const error = new Error('oops')
56845684

5685-
const queryFn = async () => {
5685+
const queryFn = async (): Promise<unknown> => {
56865686
throw error
56875687
}
56885688

0 commit comments

Comments
 (0)