import { IEnumerable } from "../../types" ; import { BasicEnumerable } from "../BasicEnumerable" ; param first param second returns export const concatenate = < TSource > ( first , second ) : IEnumerable < TSource > => { function * iterator ( ) { yield * first ; yield * second ; } return new BasicEnumerable ( iterator ) ; } ;