import { IterableX } from './iterablex' ; class EmptyIterable extends IterableX < never > { * [ Symbol . iterator ] ( ) { } } template TSource returns { IterableX < never > } export function empty ( ) { return new EmptyIterable ( ) ; }