From 00da42d77e7f574ac255685d0ec1ebfe7d61bcd2 Mon Sep 17 00:00:00 2001 From: Alex Kozack Date: Tue, 13 Dec 2022 18:07:15 +0200 Subject: [PATCH] docs: Add missed import in code sample --- docs/content/1.get-started/2.usage.md | 1 + 1 file changed, 1 insertion(+) 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({