Type Alias Readonly<T>

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

    Make all properties in T readonly

    Type Parameters

    • T