Closed
Description
From @arackaf:
Notice that when comparing an object literal against MutationSubscription | MutationSubscription[]
, it picked the last branch which is bad.
Kind of like #24776, but here if the type originates from an object literal (or from JSX attributes?), we should avoid matching against Array
or ReadonlyArray