Add description attribute to enum and read this description in TypeScript : <p>I’m wondering how to add description attributes to enum in TypeScript.
I would like to create enum as follows(or something similar):</p>

<pre><code>public enum Sample
{
    [Display(Name = "Blah V")]
    V,

    [Display(Name = " Blah IV")]
    IV,

    [Display(Name = " Blah III")]
    III,
}
</code></pre>

<p>To be able to do basic operations on such enum I would create generic EnumHelper. This helper class should contain methods which allow: getting a description value, getting the name and numeric value. The question is how to achieve this in typescript? If it is not possible to add attributes to the enum, is there any way around?
I would like to be able to:</p>

<pre><code>-  get number of enum value,
-  get description value,
-  get the name of enum field.
</code></pre>

<p>e.g. for Sample.IV it would be: </p>

<pre><code>1, 
Blah IV, 
IV.
</code></pre>
