Create a class constructor from instance properties.
The instance type
Converts an interface or type into a full constructor signature. Useful for type-level operations where you need to represent class creation.
type User = { id: number; name: string };type UserCtor = Constructor< User >;// new ( id: number, name: string ) => User Copy
type User = { id: number; name: string };type UserCtor = Constructor< User >;// new ( id: number, name: string ) => User
Create a class constructor from instance properties.