Skip to content

Type Alias: RequestResult<R, Q>

RequestResult<R, Q> = { [K in keyof Q]: K extends keyof R ? ListResult<Q[K], RootType<R[K]>, RootResult<R[K]>> : never }

Defined in: packages/fate/src/types.ts:376

The result of a FateClient.request and useRequest call, mapping each request key to its corresponding result.

Type Parameters

R

R extends FateRoots

Q

Q extends AnyRequest

Released under the MIT License