A constructor signature describes something the helper can instantiate. The returned instance type can be inferred from the constructor argument.
Worked example
interface Named {
name: string;
}
console.log(
(<T,>(Ctor: new () => T) => new Ctor())(
class {
ready = true;
},
),
);Result
{ ready: true }Implementation notes
An abstract constructor and an instantiable constructor are different contracts. A helper that calls new needs the latter.
Try it yourself
Pass a constructor with a required parameter and inspect the mismatch.
Open the TypeScript example →Editorial date March 13, 2026 · Published December 6, 2026