import { IParallelEnumerable } from "../../types" ; import { typeDataToArray } from "./_typeDataToArray" ; param source returns export const toArray = < TSource > ( source ) : Promise < TSource [ ] > => { return typeDataToArray ( source . dataFunc ) ; } ;