type UndefinedInitialDataOptions<TQueryFnData, TError, TData, TQueryKey> = Accessor<QueryOptions<TQueryFnData, TError, TData, TQueryKey> & object>;Defined in: packages/solid-query/src/queryOptions.ts:19
The options accepted by the queryOptions overload selected when no initialData is set — data may be undefined while the query is pending. queryOptions itself accepts and returns a plain object (its parameter type is ReturnType<UndefinedInitialDataOptions<...>>, i.e. this Accessor called); Solid's reactivity applies where the result is consumed instead, e.g. useQuery(() => options).
TQueryFnData = unknown
The type your queryFn resolves to.
TError = DefaultError
The type of errors your queryFn may throw.
TData = TQueryFnData
The type data ends up as after select runs.
TQueryKey extends QueryKey = QueryKey
The type of your queryKey.