Resolves the subject type accepted by an .it() executor.
With a populated AllAssertions union, the subject is widened across every
assertion that shares a phrase and takes overlapping parameters (see
SubjectUnionForOverlap). With no union (never, the default of
ExpectItFunction and ExpectItFunctionAsync), there are no
siblings to scan, so the subject is inferred from the first assertion part,
as it was before the union existed. This keeps single-argument uses of those
exported types working.
Resolves the subject type accepted by an
.it()executor.With a populated
AllAssertionsunion, the subject is widened across every assertion that shares a phrase and takes overlapping parameters (see SubjectUnionForOverlap). With no union (never, the default of ExpectItFunction and ExpectItFunctionAsync), there are no siblings to scan, so the subject is inferred from the first assertion part, as it was before the union existed. This keeps single-argument uses of those exported types working.