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 320df47 commit 5fbda13Copy full SHA for 5fbda13
src/types.ts
@@ -26,6 +26,7 @@ export type UseQueryResult<T> = {
26
export type MakeDataRequired<
27
T extends readonly UseQueryResult<unknown>[]
28
> = {
29
+ // @ts-ignore: Cannot use data to index type T[K]
30
[K in keyof T]-?: T[K] & { data: NonNullable<T[K]["data"]> };
31
};
32
0 commit comments