chore: upgrade dependencies for nuxt 3.2.2

This commit is contained in:
CRBroughton
2023-03-27 21:48:14 +01:00
parent fa6ba65d35
commit 1defbe5954
5 changed files with 1752 additions and 711 deletions

View File

@@ -6,7 +6,7 @@ import { useRequestHeaders } from '#imports'
import { type HTTPLinkOptions as _HTTPLinkOptions } from '@trpc/client/dist/links/internals/httpUtils'
import { type FetchEsque } from '@trpc/client/dist/internals/types'
function customFetch(input: RequestInfo | URL, init?: RequestInit) {
function customFetch(input: RequestInfo | URL, init?: RequestInit & { method: 'GET' }) {
return globalThis.$fetch.raw(input.toString(), init)
.catch((e) => {
if (e instanceof FetchError && e.response) { return e.response }