UNPKG

@codibre/fluent-iterable

Version:

Provides LINQ-like fluent api operations for iterables and async iterables (ES2018+).

6 lines (5 loc) 489 B
import { AnyIterable } from 'augmentative-iterable'; import { AsyncReducer } from '../types'; import { ToObjectChainIngredients } from './ingredients'; export declare function toChainRecipeFactory(base: <T, R>(this: AnyIterable<any>, initial: () => R, reducer: AsyncReducer<T, R>, ...keys: string[]) => any): (this: AnyIterable<any>, ...keys: string[]) => any; export declare function toObjectChainRecipe(ing: ToObjectChainIngredients): (this: AnyIterable<any>, ...keys: string[]) => any;