I have the following TypeScript enum:
export declare enum SupportedLanguages {
    en,
    fr
}
If I import it in my react application and console.log it, I will get the following object returned:
{
  en: "en", 
  fr: "fr"
}
How can I manipulate it, so that I get the following object returned?
{
  en: "",
  fr: ""
}
I tried it with const Lang = Object.keys(SupportedLanguages) and also with .map() but I did not get the expected object returned.


type ObjFromEnum = Record<SupportedLanguages, ''> const obj: ObjFromEnum = { [SupportedLanguages.en]: '', [SupportedLanguages.fr]: '', };