We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dd3b37 commit 054e943Copy full SHA for 054e943
packages/data-connect/test/unit/typings.test.ts
@@ -27,7 +27,7 @@ describe('Typings', () => {
27
__abc: true
28
}
29
);
30
- function myFn<Data, Variables>(queryRef: QueryRef<Data, Variables>) {
+ function myFn<Data, Variables>(queryRef: QueryRef<Data, Variables>): { data: Data } {
31
const data = {} as Data;
32
return { data };
33
0 commit comments