Skip to content

3.3.4 regression: An object literal cannot have multiple properties with the same name.ts-plugin(1117) #6096

Description

@hmt

Vue - Official extension or vue-tsc version

3.3.4

VSCode version

1.123.0

Vue version

3.5.35

TypeScript version

6.0.3

System Info

System:
    OS: macOS 26.5.1
    CPU: (14) arm64 Apple M4 Pro
    Memory: 162.00 MB / 24.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 26.0.0 - /opt/homebrew/bin/node
    npm: 11.12.1 - /opt/homebrew/bin/npm
    Deno: 2.8.1 - /opt/homebrew/bin/deno
  Browsers:
    Brave Browser: 149.1.91.168
    Firefox: 151.0.3
    Safari: 26.5

package.json dependencies

Steps to reproduce

add something like this:

<MyInput @keydown.up="true" @keydown.down="false" />

and vue-tsc will complain that:

An object literal cannot have multiple properties with the same name.ts-plugin(1117)

What is expected?

It should just work as before

What is actually happening?

Image

Link to minimal reproduction

No response

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions