NuxtN
Nuxt3w ago
Revadike

Nuxt typecheck missing errors

VSCode has a built-in typescript checker which detects multiple errors in my typescript files (see screenshot). Yet nuxt typecheck does not catch any of these errors. How can I make it so nuxt typecheck also checks these errors (or make vscode not flag these) to make them behave equally?

This is my tsconfig:
{
  "files": [],
  "references": [
    {
      "path": "./.nuxt/tsconfig.app.json"
    },
    {
      "path": "./.nuxt/tsconfig.node.json"
    }
  ]
}
image.png
Was this page helpful?