Merge pull request #88 from Colonel-Sandvich/next

Update `HTTPLinkOptions` import
This commit is contained in:
Robert Soriano
2023-04-14 08:27:22 -07:00
committed by GitHub

View File

@@ -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' }) {