Get Readonly Keys hard #utils #object-keys

by Anthony Fu @antfu

Take the Challenge

Implement a generic `GetReadonlyKeys` that returns a union of the readonly keys of an Object. For example ```ts interface Todo { readonly title: string readonly description: string completed: boolean } type Keys = GetReadonlyKeys // expected to be "title" | "description" ``` Back Check out Solutions Share your Solutions