SpiedClass: SpyInstance<
    InstanceType<T>,
    ConstructorParameters<T>,
    T extends abstract new (...args: any) => infer C ? C : never,
>

Constructs the type of a spied class.

Type Parameters

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