PrimitiveKeys<Obj>:Obj extends undefined ? string : { [Key in keyof Obj]-?: undefined extends Obj[Key] ? IsPrimitiveField<Exclude<Obj[Key], undefined>> extends never ? never : Key : IsPrimitiveField<Obj[Key]> extends never ? never : Key }[keyof Obj] & string
This is an internal type that is used to extract the keys of a user-provided generic type that are primitive fields, e.g. non-nested and non-reference.
This is an internal type that is used to extract the keys of a user-provided generic type that are primitive fields, e.g. non-nested and non-reference.