title: How to temporally define a Object type more specifically?
body: <p>I am using Angular 2.</p>
  
  <p>Usually, when I define a type, I create a interface first:</p>
  
  <pre><code>interface Product {
    name: string,
    count: number
  }
  </code></pre>
  
  <p>then use like</p>
  
  <pre><code>let product: Product;
  </code></pre>
  
  <p>Now I want to temporally define a Object type. Something like this:</p>
  
  <pre><code>let product: Object&lt;name: string, count: number&gt;;
  </code></pre>
  
  <p>But this is wrong. How can I do it correctly? Thanks</p>