Array slice infer patterns #181
Labels
needs-investigation
Further information is requested
subtyping
Related to comparing two types
tsc-behaviour
Trying to match TSC behaviour
The following code should type-check fine
There is some current problems with representing spread arrays patterns. It isn't great as it reuses the same object helper as regular expression space array literals (and so doesn't create an anonymous object literal type). Maybe this could be handled regularly, maybe there needs to be a special
fn extract_as_slice
helper method?The text was updated successfully, but these errors were encountered: