Skip to content

Support for vue 3.3 defineEmits #197

Closed
@yuntian001

Description

@yuntian001

vue3.3 allow

const emit = defineEmits<{
  foo: [id: number]
  bar: [name: string, ...rest: any[]]
}>()

But the error 'vue/valid-define-emits' is still reported

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions