From 71bbbf2b8603f3f52060136d409341326eac69a9 Mon Sep 17 00:00:00 2001 From: Robert Soriano Date: Mon, 23 May 2022 11:08:52 -0700 Subject: [PATCH] fix: trpc client composable type --- src/runtime/client.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }