PropMethod<T, TConstructor>: [T] extends [((...args: any) => any) | undefined]
    ? {
        prototype: TConstructor;
        (): T<T>;
        new (): TConstructor;
    }
    : never

Type Parameters

  • T
  • TConstructor = any