Readonly
Readonly<T
>: { readonly [P in keyof T]: T[P] }
Make all properties in T readonly
Type parameters
T
objectRequiredWas this section helpful?
Readonly<T
>: { readonly [P in keyof T]: T[P] }
Make all properties in T readonly
T
objectRequired