Enum keys duplicated in interface Let’s assume that you’ve got a list of integrations, that you’ve stored in an enum: enum IntegrationType {
CURRENCIES_API = 'CURRENCIES_API',
TIMEZONE_API = 'TIMEZONE_API',
PAYMENT_GATE = 'PAYMENT_GATE',
} And you’ve got some API that returns only boolean info about available integrations: {
CURRENCIES_API: true,
TIMEZONE_API: true,
PAYMENT_GATE: true,
}