@jakobkg/expect
    Preparing search index...

    Type Alias Chained<M, T>

    Chained: {
        [K in keyof M]: M[K] extends (...args: infer A) => void
            ? (...args: A) => MatcherChain<T>
            : M[K]
    }

    Rewrites each matcher in M to return MatcherChain<T> instead of void.

    Type Parameters

    • M
    • T