Comunica
    Preparing search index...

    Type Alias SpiedFunction<T>

    SpiedFunction: SpyInstance<
        ReturnType<T>,
        ArgsType<T>,
        T extends (this: infer C, ...args: any) => any ? C : never,
    >

    Constructs the type of a spied function.

    Type Parameters

    • T extends (...args: any) => any