From eaeab1565dec1625f8029c78d18f7419fe081975 Mon Sep 17 00:00:00 2001 From: Colonel-Sandvich <21989418+Colonel-Sandvich@users.noreply.github.com> Date: Fri, 14 Apr 2023 16:18:27 +0100 Subject: [PATCH] Update `HTTPLinkOptions` import --- src/client/links.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/links.ts b/src/client/links.ts index adebd99..fbc00e6 100644 --- a/src/client/links.ts +++ b/src/client/links.ts @@ -3,7 +3,7 @@ import { type AnyRouter } from '@trpc/server' import { FetchError } from 'ofetch' // @ts-expect-error: Nuxt auto-imports import { useRequestHeaders } from '#imports' -import { type HTTPLinkOptions as _HTTPLinkOptions } from '@trpc/client/dist/links/internals/httpUtils' +import { type HTTPLinkOptions as _HTTPLinkOptions } from '@trpc/client/dist/links/httpLink' import { type FetchEsque } from '@trpc/client/dist/internals/types' function customFetch(input: RequestInfo | URL, init?: RequestInit & { method: 'GET' }) {