Skip to content

Commit

Permalink
Fix test in more userland way
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-Lucas committed Dec 4, 2024
1 parent 59313c0 commit 2c4ec39
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/react-query/src/__tests__/queryOptions.test-d.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,9 @@ describe('queryOptions', () => {
})

it('should be passable to UseQueryOptions', () => {
function somethingWithQueryOptions(options: UseQueryOptions<number>) {
function somethingWithQueryOptions(
options: UseQueryOptions<number, any, any, Array<string>>,
) {
return options.queryKey
}

Expand Down

0 comments on commit 2c4ec39

Please sign in to comment.