Type alias Constructor<T>

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

Type Parameters

  • T = any

Type declaration

    • new (...args): T
    • 构造函数

      Parameters

      • Rest ...args: any[]

      Returns T

      Example

      const Vector2Constructor: Constructor<Vector2> = Vector2;
      

Generated using TypeDoc