type: remove duplicated conditional code blocks

11 jobs for enum_flag_property in 9 minutes and 1 second (queued for 1 second)
latest