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

Attrs type error #4785

Closed
teleskop150750 opened this issue Sep 2, 2024 · 1 comment · Fixed by #4792
Closed

Attrs type error #4785

teleskop150750 opened this issue Sep 2, 2024 · 1 comment · Fixed by #4792
Labels
bug Something isn't working good reproduction ✨ This issue provides a good reproduction, we will be able to investigate it first 🔨 p3-minor-bug

Comments

@teleskop150750
Copy link

Vue - Official extension or vue-tsc version

v2.1.4

VSCode version

1.92.2

Vue version

3.4.38

TypeScript version

5.5.4

System Info

System:
  OS: Linux 6.8 Ubuntu 24.04.1 LTS 24.04.1 LTS (Noble Numbat)
  CPU: (12) x64 12th Gen Intel(R) Core(TM) i5-12400
  Memory: 8.11 GB / 15.38 GB
  Container: Yes
  Shell: 3.7.1 - /usr/bin/fish
Binaries:
  Node: 20.15.1 - /run/user/1000/fnm_multishells/38089_1725257095122/bin/node
  npm: 10.7.0 - /run/user/1000/fnm_multishells/38089_1725257095122/bin/npm
  pnpm: 9.9.0 - /run/user/1000/fnm_multishells/38089_1725257095122/bin/pnpm
Browsers:
  Chrome: 128.0.6613.84

package.json dependencies

No response

Steps to reproduce

https://github.com/teleskop150750/vue-language-generic

pnpm type-check

What is expected?

success

What is actually happening?

❯ pnpm type-check

vue-lang@0.0.0 type-check /home/teleskop150750/Documents/examples/vue/vue-lang
vue-tsc --build --force

src/App.vue:6:36 - error TS2353: Object literal may only specify known properties, and '"aria-label"' does not exist in type '{ type: "multiple"; } & VNodeProps & AllowedComponentProps & ComponentCustomProps'.

6
~~~~~~~~~~

Found 1 error.

 ELIFECYCLE  Command failed with exit code 2

Link to minimal reproduction

https://github.com/teleskop150750/vue-language-generic

Any additional comments?

No response

@KazariEX KazariEX added bug Something isn't working 🔨 p3-minor-bug good reproduction ✨ This issue provides a good reproduction, we will be able to investigate it first and removed pending triage labels Sep 2, 2024
@dten
Copy link

dten commented Sep 2, 2024

Also get this going from 2.0.29 to 2.1.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good reproduction ✨ This issue provides a good reproduction, we will be able to investigate it first 🔨 p3-minor-bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants