title: Typescript's equivalent of Java's enum (or C#'s struct)
body: <p>I need to create an enum in Typescript. However, you can only use an integer based enum like with C# for example. Still C# has it's struct to do non-integer related things. This doesn't seem to be implemented within TypeScript. Do I need to "work around" or is there something implemented? </p>
  
  <p>What I try to achieve is an equivalent in TypeScript to this Java code: </p>
  
  <pre><code>public enum Something { 
  
   PENNY("PENNY"), NICKLE("NICKLE"); 
  
   private String value; 
  
   private Something (String value) { 
    this.value = value; 
   } 
  
  };
  </code></pre>