We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bc3147 commit 287848bCopy full SHA for 287848b
packages/solid-query/src/queryOptions.ts
@@ -25,7 +25,7 @@ export type DefinedInitialDataOptions<
25
26
export function queryOptions<
27
TQueryFnData = unknown,
28
- TError = unknown,
+ TError = DefaultError,
29
TData = TQueryFnData,
30
TQueryKey extends QueryKey = QueryKey,
31
TOptions extends ReturnType<
@@ -45,7 +45,7 @@ export function queryOptions<
45
46
47
48
49
50
51
0 commit comments