ReadonlyKeys<T>: { [ P in keyof T]-?: IfEquals<{ [ Q in P]: T[P] }, { -readonly [ Q in P]: T[P] }, never, P> }[keyof T]

Type Parameters

  • T