Appearance
Get union type of keys that are required in object type T.
import type { RequiredKeys } from '@utype/core' type Prop = { name: string; age: number; visible?: boolean; } // Expect: 'name' | 'age' type RequiredKeysProp = RequiredKeys<Prop>