Similar to this question, but with the enumeration marked as a constant: How do you go about iterating or producing an array of from the const enum?
Example
declare const enum FanSpeed {
    Off = 0,
    Low,
    Medium,
    High
}
Desireable Results
type enumItem = {index: number, value: string};
let result: Array<enumItem> = [
    {index: 0, value: "Off"}, 
    {index: 1, value: "Low"}, 
    {index: 2, value: "Medium"}, 
    {index: 3, value: "High"}
];
 
     
    