export enum PlayerTitle { Developer = 1 , Contributor = 2 , HallOfFame = 3 } export const TITLES = { [ PlayerTitle . Developer ] : { text : "Developer" } , [ PlayerTitle . Contributor ] : { text : "Contributor" } , [ PlayerTitle . HallOfFame ] : { text : "Hall of Fame" } } ;