Type alias ConstructorOf<T>

ConstructorOf<T>: { [ P in keyof T]: Constructor<T[P]> }

映射每个属性的类定义

Example

const classmap: ConstructorOf<{ Vector2: Vector2 }> = { Vector2: Vector2 };

Type Parameters

  • T

Generated using TypeDoc