title: Referring to the static class in Typescript
body: <p>I have the following situation. I want to be able to define a static method on a base class (register) which uses references to other static properties, which should be overridden. For example:</p>
  
  <pre><code>class Base {
      constructor() { }
      public static name = "Override me please";
      public static register = function() { console.log( Base.name ) }
  }
  
  class Child extends Base {
      constructor() { super() }
      public static name = "Child";
  }
  </code></pre>
  
  <p>And then I of course would like Child.register() to print out 'Child'. Is it possible to get a reference to the current class? I know I can always pass in a reference to the class, but that seems less elegant than being able to refer to the class directly.</p>
  
  <p>Any help appreciated! Thank you!</p>