Type alias Constructor<T>

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

Type signature for objects with a unique class constructor. Used in runtime type matching and identification.

Type Parameters

  • T = unknown

Type declaration

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

      • Rest ...args: any[]

      Returns T