UncertainSelectionFields type

Selection entries typed as a union of fields, so any one of them might be selected.

type UncertainSelectionFields<TFields> = {
  [I in keyof TFields]: IsUnion<TFields[I]> extends true ? TFields[I] : never
}[number]