Skip to content

Duplicate Enum Value in MappingCategory.ts

In MappingCategory.ts we have

export enum MappingCategory {
  []
  "Identifiers" = "pid_system",
  []
  "PID Systems" = "pid_system",
  []
}

So both Enum Keys are mapped to the same value "pid_system". Since the newest version ESlint is complaining about Duplicate Enum Values and the error need to be disabled by linter config. But the error exists for a reson to avoid issues… so first we need to double check if the mapping above is intended and necessary before doing so…