Skip to content

Function: clientRoot()

clientRoot<Result, Type>(type): RootDefinition<Type, Result>

Defined in: packages/fate/src/root.ts:7

Defines a root query for an entity type, capturing the response shape.

Type Parameters

Result

Result

Type

Type extends string

Parameters

type

Type

Returns

RootDefinition<Type, Result>

Released under the MIT License