BUPKIS
    Preparing search index...

    Type Alias ExpectItFunction<Parts, AllAssertions>

    The function part of ExpectIt.

    Because UnionToIntersection only lets TypeScript match a single call signature at a time during assignability, sibling assertions that share the same leading phrase (e.g. sync 'to satisfy') would otherwise fight over which one wins the overload resolution and leak their specific subject schema into the executor return type. We instead union subjects across all assertions whose leading phrases overlap, so every candidate overload for a given .it(phrase, ...) call returns the same widened ExpectItExecutor.

    Type Parameters

    • Parts extends AssertionParts

      Assertion parts contributing this overload's arg tuple

    • AllAssertions extends AnyAssertion = never

      Full assertion union used to compute the subject. When omitted, the subject is inferred from Parts alone.