title: Evaluate Typescript from string?
body: <p>Is it possible to save my Typescript code in a string and evaulate it during run time?  For simple example:</p>
  
  <pre><code>let code: string = `({
      Run: (data: string): string =&gt; {
          console.log(data); return Promise.resolve("SUCCESS"); }
      })`;
  </code></pre>
  
  <p>Then run it like this:</p>
  
  <pre><code>let runnalbe = eval(code);
  runnable.Run("RUN!").then((result:string)=&gt;{console.log(result);});
  </code></pre>
  
  <p>Should print:</p>
  
  <pre><code>RUN!SUCCESS
  </code></pre>