UNPKG

ramda-generators

Version:

A collection of lazily evaluated generators and functions to work with generators in Javascript and Typescript, following the style of Ramda's functions

2 lines (1 loc) 129 B
export declare type GEN<TYPE extends "sync" | "async", T> = TYPE extends "sync" ? Generator<T, void> : AsyncGenerator<T, void>;