title: Strange transpile error with RxJS5 Subject/Subscription
body: <p>I have this function:</p>
  
  <pre><code>const subs: Array&lt;Subscription&gt; = [];
  
  const startActions = function () {
  
    const db = client.db('local');
  
    const delSub = del.subscribe(function (v: OplogDoc) {
  
       // ...
    });
  
    const insertSub = insert.subscribe(function (doc: OplogDoc) {
  
        // ...
    });
  
    const updateSub = update.subscribe(function (doc: OplogDoc) {
  
         // ... 
    });
  
    subs.push(
      delSub,
      insertSub,
      updateSub
    );
  };
  </code></pre>
  
  <p>I am getting this transpilation error:</p>
  
  <p><a href="https://i.stack.imgur.com/B97bz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/B97bz.png" alt="enter image description here"></a></p>
  
  <p>Here is the type:</p>
  
  <pre><code>export type SubjectMap = {
    [key: string]: Subject&lt;Object&gt;,
    all: Subject&lt;any&gt;,
    update: Subject&lt;Object&gt;,
    insert: Subject&lt;Object&gt;,
    delete: Subject&lt;Object&gt;,
    errors: Subject&lt;Object&gt;,
    end: Subject&lt;Object&gt;,
    del: Subject&lt;Object&gt;
  }
  </code></pre>
  
  <p>so <code>delSub</code>, <code>insertSub</code>, and <code>updateSub</code> should all have the same type...anyone know what might be going on here?</p>
  
  <p>UPDATE:</p>
  
  <p>Did some more investigation. The type checking seems to only occur for the first argument to Array.prototype.push, and in that case, all the subscriptions fail, but now I see this fun one:</p>
  
  <p><a href="https://i.stack.imgur.com/g607e.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/g607e.png" alt="enter image description here"></a></p>