title: error TS2345: Argument of type 'T' is not assignable to parameter of type 'object'
body: <p>The code below was working fine with TypeScript 2.1.6:</p>
  
  <pre><code>function create&lt;T&gt;(prototype: T, pojo: Object): T {
      // ...
      return Object.create(prototype, descriptors) as T;
  }
  </code></pre>
  
  <p>After updating to TypeScript 2.2.1, I am getting the following error:</p>
  
  <blockquote>
    <p>error TS2345: Argument of type 'T' is not assignable to parameter of
    type 'object'.</p>
  </blockquote>