I want to write es6 class:
class SomeClass { static prop = 123 method() { } }
How to get access to static prop from <
prop
I guess that you want in the future extends this class. So it is better to do this:
class SomeClass { static prop = 123 method() { (this.constructor as T).prop; } }