Property Doesn't Exist on Typescript Interface
<p>I have a custom "Enum" interface that that has a value and a description. I've defined an my enum interface like this-</p>

<pre><code>module App {
  export interface IMyEnum {
    [index: string]: IMyEnumValue;
  }

  export interface IMyEnumValue {
      value: any;
      text: string;
  }
}
</code></pre>

<p>And my enums like this-</p>

<pre><code>/// &lt;reference path="./enums.interface.ts"/&gt;

module App {
  export const StatusEnum: IMyEnum = {
    Normal: { value: 100, text: 'Normal' },
    Overdue: { value: 200, text: 'Overdue' },
    Critical: { value: 300, text: 'Critical' }
  }
}
</code></pre>

<p>But the typescript compiler is complaining that "Normal" does not exist on type IMyEnum.</p>

<pre><code>let statusCode = StatusEnum.Normal.value;
</code></pre>

<p>Is there anyway to do this without defining an <code>IStatusEnum</code> interface? I think that would be over-engineering.</p>