Skip to content

vue-component-meta, exposed contains all slots, props and events as well #5005

@fbecker-fds

Description

@fbecker-fds

Vue - Official extension or vue-tsc version

latest

VSCode version

Not used here

Vue version

latest

TypeScript version

3.5.12

System Info

No response

package.json dependencies

No response

Steps to reproduce

Run the tests of this repository after adding the following in line 702:

expect(meta.exposed.length).toBe(1);

What is expected?

It should pass

What is actually happening?

It fails because exposed contains way more than just the exposed symbol.

Link to minimal reproduction

https://github.com/vuejs/language-tools/blob/master/packages/component-meta/tests/index.spec.ts#L691-L704

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions