Skip to content

fx-flow v0.7.0 / types / UniversalIterableItem

Type alias: UniversalIterableItem<T>

UniversalIterableItem<T>: T extends Iterable<infer U> ? U : T extends AsyncIterable<infer U> ? Awaited<U> : never

Item of Iterable or AsyncIterable

Type parameters

T extends Iterable<unknown> | AsyncIterable<unknown>

Source

packages/core/src/types/iterable.ts:4

Released under the MIT License.