RSX Code Reference
    Preparing search index...

    Type Alias Const<T>

    Const: {
        readonly [K in keyof T]: T[K] extends Function
            ? T[K]
            : T[K] extends any[]
                ? ReadonlyArray<Immutable<T[K][0]>>
                : AsImmutable<T[K]>
    }

    Makes all fields of the type T as readonly and extends the readonly keyword to all child fields recursively.

    Type Parameters

    • T