A type that allows the given type T to optionally have a field property.
T
field
type WithOptionalField<T> = T & {field?: Field<unknown>}