Fix TypeIs negative narrowing of union of generics (#18193)
#4570
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention