Skip to content
0

katanakit-js / MutationMeta

Type Alias: MutationMeta ​

ts
type MutationMeta = Register extends {
  mutationMeta: infer TMutationMeta;
} ? TMutationMeta extends Record<string, unknown> ? TMutationMeta : 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:2557

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

Released under the MIT License.