🐛 The bug
I am getting following Error when running npx nuxi typecheck in a fresh project with only @nuxt/scripts installed.
Error only occurs if typescript.strict ist set to false in nuxt.config.ts.
node_modules/@nuxt/scripts/dist/runtime/components/ScriptGoogleMaps.vue:288:7 - error TS2578: Unused '@ts-expect-error' directive.
288 // @ts-expect-error broken
~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 1 error in node_modules/@nuxt/scripts/dist/runtime/components/ScriptGoogleMaps.vue:288
I've copied most of this issue content from one I've submitted earlier (#111) since they're so similar.
🛠️ To reproduce
https://stackblitz.com/edit/nuxt-starter-qmhrvq
🌈 Expected behavior
npx nuxi typecheck to succeed in a fresh project with only @nuxt/scripts installed where typescript.strict ist set to false in nuxt.config.ts.
ℹ️ Additional context
No response
🐛 The bug
I am getting following Error when running
npx nuxi typecheckin a fresh project with only@nuxt/scriptsinstalled.Error only occurs if
typescript.strictist set to false in nuxt.config.ts.I've copied most of this issue content from one I've submitted earlier (#111) since they're so similar.
🛠️ To reproduce
https://stackblitz.com/edit/nuxt-starter-qmhrvq
🌈 Expected behavior
npx nuxi typecheckto succeed in a fresh project with only@nuxt/scriptsinstalled wheretypescript.strictist set to false in nuxt.config.ts.ℹ️ Additional context
No response