OR operator between complex types in array fails
whitelizard opened this issue · 0 comments
whitelizard commented
It should be possible to do this:
typeCheck('[(Number) | (String)]', [[1], ['test'], [2]])
and
typeCheck('[[Number] | [String]]', [[1, 2], ['foo', 'bar'], [3]])
But it doesn't work, neither of them