import { IEnumerable } from "../../types" ; import { BasicEnumerable } from "../BasicEnumerable" ; param source returns export const enumerateObject = < TInput > ( source ) : IEnumerable < [ keyof TInput , TInput [ keyof TInput ] ] > => { function * iterable ( ) { for ( const key in source ) { yield [ key , source [ key ] ] ; } } return new BasicEnumerable ( iterable ) ; } ;