Type representing a constructor function that creates instances of type T. Used for type-safe instantiation of model classes.
The type that the constructor creates
const UserConstructor: Constructor<User> = User;const user = new UserConstructor(); Copy
const UserConstructor: Constructor<User> = User;const user = new UserConstructor();
Type representing a constructor function that creates instances of type T. Used for type-safe instantiation of model classes.