Comment Comment by thejameskyle > Creating a static attribute on a class and initializing it right there, as in: class A { static b:B = new B(); }That is how the ECMAScript spec is designed. And TypeScript _should_ follow the spec. parent thejameskyle 10 years ago
That is how the ECMAScript spec is designed. And TypeScript _should_ follow the spec.