title: Typescript anonymous class
body: <p>Is there a way in typescript to create anonymous class?</p>
  
  <p>my code:</p>
  
  <pre><code>export abstract class Runnable {
      public abstract run();
  }
  </code></pre>
  
  <p>and I'm trying to do something like this:</p>
  
  <pre><code>new Runnable {
      runner() {
          //implement
      }
  }
  </code></pre>
  
  <p>How can I do it?</p>