In Typescript, what is the difference between types T1-T4:
class MyClass {
}
type T1 = MyClass;
type T2 = typeof MyClass;
type T3 = new () => MyClass;
type T4 = { new(): MyClass };
Intellisense shows me different options but I can't tell what they actually point to.
Is there a difference between T2, T3, and T4 since the following works:
const t1: T1 = new MyClass();
const t2: T2 = MyClass;
const t3: T3 = MyClass;
const t4: T4 = MyClass;