Appearance
Overview / BetterReadonly
BetterReadonly<T, Deep>: { readonly [Key in keyof T]: Deep extends true ? T[Key] extends object ? BetterReadonly<T[Key]> : T[Key] : T[Key] }
T
Deep
{ readonly [Key in keyof T]: Deep extends true ? T[Key] extends object ? BetterReadonly<T[Key]> : T[Key] : T[Key] }
boolean
true