chore: fix eslint error preventing ci (#2989)
This commit is contained in:
parent
abf8dd3ea1
commit
f64878861e
3 changed files with 242 additions and 178 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue