Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.0.22 Type detection failed #4502

Closed
a81n9 opened this issue Jun 25, 2024 · 1 comment
Closed

v2.0.22 Type detection failed #4502

a81n9 opened this issue Jun 25, 2024 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@a81n9
Copy link

a81n9 commented Jun 25, 2024

Vue - Official extension or vue-tsc version

2.0.22

VSCode version

1.90.2

Vue version

3.4.21

TypeScript version

5.5.2

System Info

No response

Steps to reproduce

Configure compilerOptions. types: ["element plus/global"] in tsconfig
Using Vue - Official v2.0.22 component type detection failed, code snippet not highlighted

Switching to v2.0.21 means everything is normal

Link to minimal reproduction

No response

Any additional comments?

No response

@davidmatter davidmatter added bug Something isn't working and removed pending triage labels Jun 28, 2024
@davidmatter
Copy link
Collaborator

Duplicate: #4501

Workaround: Add @vue/runtime-core as a dependency and add this to your tsconfig.json.

  "vueCompilerOptions": {
    "lib": "@vue/runtime-core",
},

@davidmatter davidmatter closed this as not planned Won't fix, can't repro, duplicate, stale Jul 1, 2024
@davidmatter davidmatter added the duplicate This issue or pull request already exists label Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants