diff --git a/src/react/tests/useQuery.test.tsx b/src/react/tests/useQuery.test.tsx index 8e1736faa81..31ac5911444 100644 --- a/src/react/tests/useQuery.test.tsx +++ b/src/react/tests/useQuery.test.tsx @@ -29,7 +29,7 @@ describe('useQuery', () => { expectType(fromQueryFn.data) expectType(fromQueryFn.error) - // it should be possible to specify the error type + // it should be possible to specify the result type const withResult = useQuery(key, () => 'test') expectType(withResult.data) expectType(withResult.error)