Skip to content

Commit

Permalink
fix tsc error after rebasing lastest beta branch
Browse files Browse the repository at this point in the history
  • Loading branch information
yss14 committed May 4, 2022
1 parent 05e26ae commit 6984adc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/reactjs/tests/useQuery.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5679,10 +5679,10 @@ describe('useQuery', () => {

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

const queryFn = async () => {
const queryFn = async (): Promise<unknown> => {
throw error
}

Expand Down

0 comments on commit 6984adc

Please sign in to comment.