Skip to content
0

katanakit-js / QueryMeta

Type Alias: QueryMeta ​

ts
type QueryMeta = Register extends {
  queryMeta: infer TQueryMeta;
} ? TQueryMeta extends Record<string, unknown> ? TQueryMeta : Record<string, unknown> : Record<string, unknown>;

Defined in: node_modules/.bun/@tanstack+query-core@5.104.1/node_modules/@tanstack/query-core/build/modern/hydration-B9t5w6NC.d.ts:1876

The type of the meta object that can be attached to a query and read back from queryFn, callbacks and cache-level handlers. Defaults to Record<string, unknown>; declare queryMeta on Register to narrow it.

Released under the MIT License.