3 ms·
Yes I know, but `never[]` should also be unaccessible by index since it can never have any value.
by epolanski 5y ago
Yes I know, but `never[]` should also be unaccessible by index since it can never have any value.
- afiori 5y agovariable length arrays are accessible at all indexes, const a = foo[1] should result in a bring of type `never|undefined` or `undefined` depending on flow analysis