Skip to content

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&lt;Rest, Ignore&gt;] : never

Type parameters

T

Ignore = never

Source

packages/core/src/types/immutable.ts:8

Released under the MIT License.