import { IEnumerable } from "../../types/IEnumerable" ; import { BasicEnumerable } from "../BasicEnumerable" ; param source param count returns export const skip = < TSource > ( source , count ) : IEnumerable < TSource > => { function * iterator ( ) { let i = 0 ; for ( const item of source ) { if ( i ++ >= count ) { yield item ; } } } return new BasicEnumerable < TSource > ( iterator ) ; } ;