export function toArray(iterable: Iterable): T[] { return Array.from(iterable) }