chore: remove unused TS directive

This commit is contained in:
Daniel Roe 2023-03-23 14:03:21 +01:00 committed by GitHub
parent 562cef24ca
commit 0b5ba6c3e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -239,7 +239,7 @@ export async function initNitro (nuxt: Nuxt & { _nitro?: Nitro }) {
if (nuxtErrorHandler >= 0) {
nitro.options.handlers.splice(nuxtErrorHandler, 1)
}
// @ts-expect-error TODO: https://github.com/unjs/nitro/pull/1069
nitro.options.renderer = undefined
nitro.options.errorHandler = '#internal/nitro/error'
})