Skip to content

Vue-tsc translate some Vue compilation outputs #1484

@dizzyn

Description

@dizzyn

Please help. I have some problem with all versions upper than "0.32.1" in my case it is "0.38.1". When I hit "vue-tsc --noEmit" it will try to validate Vue transformations outputs:

image

My setup:

  • vite 2.9.12
  • vue 3.2.37
  • typescript 4.7.4
  • tsconfig:
{
  "compilerOptions": {
    "target": "esnext",
    "useDefineForClassFields": true,
    "module": "esnext",
    "moduleResolution": "node",
    "strict": true,
    "jsx": "preserve",
    "sourceMap": true,
    "resolveJsonModule": true,
    "esModuleInterop": true,
    "lib": ["esnext", "dom"],
    "skipLibCheck": true,
    "types": ["vite/client"]
  },
  "include": [
    "**/*.ts",
    "**/*.d.ts",
    "src/**/*.tsx",
    "src/**/*.vue",
    "src/**/*.graphql",
    "test/**/*.ts",
    "test/**/*.d.ts",
    "test/**/*.vue"
  ],
  "references": [{ "path": "./tsconfig.node.json" }]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions