title: Use object literal as TypeScript enum values
body: <p>I have an enum:</p>
  <pre class="lang-js prettyprint-override"><code>export enum PizzaSize {
    SMALL =  0,
    MEDIUM = 1,
    LARGE = 2
  }
  </code></pre>
  <p>But here I'd like to use some pair of values: e.g. <code>SMALL</code> I would like to say that it has a <code>key</code> of <code>0</code> and a <code>value</code> of <code>100</code>. I endeavor to use:</p>
  <pre class="lang-js prettyprint-override"><code>export enum PizzaSize {
    SMALL =  { key: 0, value: 100 },
    // ...
  }
  </code></pre>
  <p>But TypeScript doesn't accept this one. How can I do this?</p>