export default function iterableGenerator, T>(genFunc: (...args: A) => Iterator): (...args: A) => Iterable;