From e23421461e72ba487887ef1bc7c2a855823e4638 Mon Sep 17 00:00:00 2001 From: Alex Marshall Date: Thu, 3 Sep 2020 23:42:35 +0100 Subject: [PATCH] fix: typo in useQuery.test --- src/react/tests/useQuery.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)