Defined in: packages/angular-query/src/types.ts:85
Signal-backed guards that narrow a query result and its data and error fields by status: the isSuccess/isError/isPending methods on a query result. Unlike react-query's derived booleans, each is a Signal you call to read its current boolean value reactively, and the call is also a type guard — if (query.isSuccess()) — so that query.data narrows away undefined inside the branch, the same way status narrowing works on the plain object react-query returns.
TData = unknown
The type data ends up as after select runs.
TError = DefaultError
The type of errors your queryFn may throw.