Get Readonly Keys extreme #utils #object-keys

by Anthony Fu @antfu

Take the Challenge    简体中文 日本語 한국어 Português (BR)

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 Share your Solutions Check out Solutions