TypeScript doesn't seem to do a very good job of separating namespace from static properties.
class ClassA {
static ClassB = class {
};
}
type T = ClassA // ok
type T = ClassA.ClassB // error: 'ClassA' only refers to a type, but is being used as a namespace here.
new ClassA.ClassB() // ok
In the above example I want the code to not report errors.