title: Typescript create observable collection for mocking
body: <p>For mocking purposes I need to create a hard coded Observable collection that looks like the following</p>
  
  <p>Observable</p>
  
  <p>I tried the following</p>
  
  <pre><code>IEnumerable&lt;int&gt; e = new List&lt;int&gt;{ 1, 2, 3, 4, 5 }.toObservable();
  </code></pre>
  
  <p>However I get error messages "Cannot find name IEnumerable" and Cannot find name List.</p>