export type DeepReadonly = GenericValue extends Record & object ? { readonly [Prop in keyof GenericValue]: DeepReadonly; } : GenericValue;