Type Alias Readonly<T>

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

    Make all properties in T readonly

    Type Parameters

    • T