title: Typescript - Self-Executing Anonymous Functions
body: <p>How I can create self-executing anonymous functions using type script?</p>
  
  <p>For example </p>
  
  <pre><code>(function() {
   var someClass = {
   }
  }.call(this));
  </code></pre>
  
  <p>I want a built a plugin that may work for Node.js, also for fron-tend as well.</p>