fx-flow v0.7.0 / types / ImmutableTuple
Type alias: ImmutableTuple<T, Ignore>
ImmutableTuple<
T
,Ignore
>:T
extends [infer First,...(infer Rest)
] ? [ImmutableTuple
<Rest
,Ignore
>] extends [never
] ? readonly [Immutable
<First
,Ignore
>] : readonly [Immutable
<First
,Ignore
>,...ImmutableTuple<Rest, Ignore>
] :never
Type parameters
• T
• Ignore = never