Type Alias InstanceType<T>

    InstanceType<T>: T extends (abstract new (...args: any) => infer R)
        ? R
        : any

    Obtain the return type of a constructor function type

    Type Parameters

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