What does the InstanceType utility type return?

TypeScript Associate Hard

TypeScript Associate — Hard

What does the InstanceType utility type return?

Key points

  • InstanceType reflects the specific instance type, not the constructor function itself.
  • It does not represent the prototype chain type of the class.
  • It is not the return type of the class's methods.

Ready to go further?

Related questions