Skip to content

[Feature] Make Vue component mount props less restrictive #22003

Closed

Description

Moving discussion from #21400

right now, the mount fixture for Vue components only allows a props object of type JsonObject to be passed. This does not match the actual behavior of Vue, which allows anything to be passed as props. The current typing prevents passing functions, objects containing functions (for example, instances of a class), BigInts, Symbols, or objects containing any of those from being passed to the Vue component, as well as objects with non-string keys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions