export const concatIterables = function * < T extends unknown [ ] > ( ... iterables ) : IterableIterator < T [ number ] > { for ( const iterable of iterables ) { for ( const value of iterable ) { yield value ; } } } ;