From 770d4c67f76ed02568407f58c3a7c6e48212b396 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Mon, 2 Oct 2023 11:32:46 +0100 Subject: [PATCH] perf(nuxt): verbatim module syntax + restrict type discovery (#23447) --- packages/kit/src/template.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/kit/src/template.ts b/packages/kit/src/template.ts index be70a8c620..f76cfe84d2 100644 --- a/packages/kit/src/template.ts +++ b/packages/kit/src/template.ts @@ -134,9 +134,8 @@ export async function writeTypes (nuxt: Nuxt) { strict: nuxt.options.typescript?.strict ?? true, noImplicitThis: true, esModuleInterop: true, - // TODO: enable by default in v3.8 - // types: [], - // verbatimModuleSyntax: true, + types: [], + verbatimModuleSyntax: true, allowJs: true, noEmit: true, resolveJsonModule: true,