title: How to initialize an object in TypeScript
body: <p>I have a simple model class</p>
  
  <pre><code>export interface Category {
  
    name: string;
    description: string;
  
  }
  </code></pre>
  
  <p>I need to declare and initialize a variable in an angular component.
  Tried:</p>
  
  <pre><code>category: Category = {};
  </code></pre>
  
  <p>Error: {} is not assignable to a Category</p>
  
  <pre><code>category: Category = new Category();
  </code></pre>
  
  <p>error: Category refers to a type, but being referred as value..</p>
  
  <p>Any suggestions?</p>