diff --git a/docs/content/1.get-started/2.usage.md b/docs/content/1.get-started/2.usage.md index 3af3061..e96eacb 100644 --- a/docs/content/1.get-started/2.usage.md +++ b/docs/content/1.get-started/2.usage.md @@ -107,6 +107,7 @@ Create a strongly-typed plugin using your API's type signature. ```ts [plugins/client.ts] import { httpBatchLink, createTRPCProxyClient } from '@trpc/client' import type { AppRouter } from '@/server/trpc/routers' +import { FetchError } from 'ofetch' export default defineNuxtPlugin(() => { const client = createTRPCProxyClient({