Skip to content

Cannot use interface to declare emits #8457

Closed
@so1ve

Description

@so1ve

Vue version

3.3.4

Link to minimal reproduction

vuejs/language-tools#3223

Steps to reproduce

See the example

What is expected?

No type errors

What is actually happening?

Type errors

System Info

No response

Any additional comments?

Well that's a typescript limitation: microsoft/TypeScript#42825 but I think we can avoid it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions