Describe the bug
We want use nuxt 2 with typescript support, but I don't understand why don't break the build, if the TS code is bad?
Screenshots

Additional context
I tried add the --fail-on-error flag to package.json, but not working.... 🤔
"scripts": {
"dev": "cross-env BUILD_VER=dev-local.0123456 COMMIT_HASH=0123456 nuxt --fail-on-error",
Thanks.