Type Alias PrototypeOf<CLS, Args>

PrototypeOf: CLS extends new (...args: any[]) => U ? U : never

get the prototype object of a class CLS

Type Parameters

  • CLS
  • Args extends any[] = any[]