Type of the items of an IsomorphicIterable.
IsomorphicIterable
Sometimes we have to get the item type out of an IsomorphicIterable. This type is meant to be used where inference is not an option.
const iterable: IsomorphicIterable<number> = [1, 2, 3];const item: IsomorphicIterableItem<typeof iterable> = 1; Copy
const iterable: IsomorphicIterable<number> = [1, 2, 3];const item: IsomorphicIterableItem<typeof iterable> = 1;
IsomorphicIterable type to get the item type from.`
Type of the items of an
IsomorphicIterable
.Remarks
Sometimes we have to get the item type out of an
IsomorphicIterable
. This type is meant to be used where inference is not an option.Example
See
IsomorphicIterable