mirror of
https://github.com/elk-zone/elk
synced 2024-11-23 14:46:08 +09:00
chore: suppress type differences for nitro v2.10
This commit is contained in:
parent
f5b62f3a59
commit
abf8dd3ea1
@ -55,6 +55,8 @@ export default defineNuxtPlugin(async () => {
|
||||
const localCall = createCall(toNodeListener(h3App) as any)
|
||||
const localFetch = createLocalFetch(localCall, globalThis.fetch)
|
||||
|
||||
// eslint-disable-next-line ts/prefer-ts-expect-error
|
||||
// @ts-ignore Nitro types are subtly different here in a future nitro version
|
||||
globalThis.$fetch = createFetch({
|
||||
// @ts-expect-error slight differences in api
|
||||
fetch: localFetch,
|
||||
|
Loading…
Reference in New Issue
Block a user