nuxt icon indicating copy to clipboard operation
nuxt copied to clipboard

Build Failures with TypeScript's noUnusedLocals Compiler Option

Open vinoddotcom opened this issue 5 months ago • 12 comments

In Nuxt.js project that uses TypeScript, enabling the noUnusedLocals option in tsconfig.json causes the build to fail.

Screenshot: Screenshot from 2024-09-04 18-28-03

Minimum Reproduction: https://stackblitz.com/edit/github-zjpmae?file=package.json

Steps:

  1. npm i
  2. npm run test
  3. See error

vinoddotcom avatar Sep 04 '24 13:09 vinoddotcom