Bug: Unable to pass props of a unioned type to mount
since 2.4.2
#2294
Labels
bug
Something isn't working
mount
since 2.4.2
#2294
Describe the bug
Starting in 2.4.2 (works in 2.4.1), when passing props to
mount
whose type is a union, a type error is raised.To Reproduce
https://stackblitz.com/edit/github-wh8w7t?file=src%2Fcomponents%2F__tests__%2FHelloWorld.spec.ts
Expected behavior
A type error is not raised, as is the case in 2.4.1 and below.
Same repro with 2.4.1: https://stackblitz.com/edit/github-wh8w7t-gbvna2?file=src%2Fcomponents%2F__tests__%2FHelloWorld.spec.ts
Related information:
Additional context
The text was updated successfully, but these errors were encountered: