Type alias Constructor<T>

Constructor<T>: (new (...args: any[]) => T)

Type Parameters

  • T = any

Type declaration

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

      Example

      const Vector2Constructor: Constructor<Vector2> = Vector2;
      

      Parameters

      • Rest ...args: any[]

      Returns T

Generated using TypeDoc