chore: fix eslint error preventing ci (#2989)

This commit is contained in:
TAKAHASHI Shuuji 2024-10-10 02:16:07 +09:00 committed by GitHub
parent abf8dd3ea1
commit f64878861e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 242 additions and 178 deletions

View file

@ -55,8 +55,7 @@ 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
// @ts-expect-error error types are subtly different here in a future nitro version
globalThis.$fetch = createFetch({
// @ts-expect-error slight differences in api
fetch: localFetch,