TS-Scribe - v0.6.2
    Preparing search index...

    Type Alias DeepReadonly<T>

    DeepReadonly: { readonly [P in keyof T]: DeepReadonly<T[P]> }

    A recursive readonly type for objects, ensuring that all properties in an object and its nested structures are read-only. This helps in cases where you want to deeply enforce immutability in an object.

    Type Parameters

    • T

      The object type to make deeply readonly.