TanStack
API Reference

AnyDataTag

ts
type AnyDataTag = object;

Defined in: packages/query-core/src/types.ts:121

Matches any type that has been tagged with DataTag, whatever its data and error types.

Properties

PropertyTypeDescription
[dataTagErrorSymbol]anyThe error type the key was tagged with.
[dataTagSymbol]anyThe data type the key was tagged with.