In the project i am working on we have this widely used enum:
export enum A{
Document = '1',
Person = '2',
Organization = '3',
Equipment = '4',
Location = '5',
Event = '6',
Link = '7',
Target = '8',
}
Example: I want to get Organization
with A['3']