Skip to content

Function: useFateClient() ​

useFateClient<T>(): FateClient<T[0], T[1]>

Defined in: vue-fate/src/context.ts:122

Returns the nearest fate client from Vue dependency injection.

Type Parameters ​

T ​

T extends [FateRoots, FateMutations] = [FateRoots, FateMutations]

Returns ​

FateClient<T[0], T[1]>

Released under the MIT License