Create a 2 index map that maps an enum's key and value to the defined map value, X["key"] => mapValue and X[0] => mapValue. Generic values

  • E = the const enum type (typeof eRequestHeaders);
  • V = Identifies the valid values for the keys, this should include both the enum numeric and string key of the type. The resulting "Value" of each entry identifies the valid values withing the assignments.