• Error
  • Reported by the type checker

TS2348

Value of type '{0}' is not callable. Did you mean to include 'new'?

A class is called like a function. Add `new`.

What it means

Calling a class value without new is not allowed: class constructors throw when called directly.

How to fix

  • Add new: new Point(1).