From 0b5ba6c3e91ce0e2883d21b0148ae26c4c3dbbf1 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Thu, 23 Mar 2023 14:03:21 +0100 Subject: [PATCH] chore: remove unused TS directive --- packages/nuxt/src/core/nitro.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nuxt/src/core/nitro.ts b/packages/nuxt/src/core/nitro.ts index 51f1b527ca..2e6fcad67a 100644 --- a/packages/nuxt/src/core/nitro.ts +++ b/packages/nuxt/src/core/nitro.ts @@ -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' })