Subscribe on changes!

prop with `type: [String, Number]` is inferred as `string | number | Date`

avatar
Sep 6th 2021

Version

3.2.9

Reproduction link

codesandbox.io

image

this is a regression, 3.2.8 has no error

Steps to reproduce

see link

What is expected?

string | number

What is actually happening?

string | number | Date