diff --git a/src/runtime/client.ts b/src/runtime/client.ts index bc53b61..0c4f1ee 100644 --- a/src/runtime/client.ts +++ b/src/runtime/client.ts @@ -59,7 +59,7 @@ export async function useAsyncQuery< } as any } -export function useClient() { +export function useClient(): TRPCClient { const { $client } = useNuxtApp() - return $client as TRPCClient + return $client }