Type alias Constructor<T>

Constructor<T>: (new (...args) => T)

Alias for the constructor of a class

Type Parameters

  • T

Type declaration

    • new (...args): T
    • Parameters

      • Rest ...args: unknown[]

      Returns T