Skip to content

Attrs type error #4785

Closed
Closed
@teleskop150750

Description

@teleskop150750

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood reproduction ✨This issue provides a good reproduction, we will be able to investigate it first🔨 p3-minor-bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions