Code QuizAdvanced

InstanceType Needs the Constructor

Understand that InstanceType takes a constructor type, obtained with typeof.

Codetypescript
class Point {
  constructor(public x: number, public y: number) {}
}

type PointInstance = InstanceType<Point>;

What is the bug in this code?