development, javascript, typesriptOctober 12, 2021By adminTypeScript Enums vs String LiteralsEnums help to define a set of named constants. Using enums can make it easier to document intent, or create a set of distinct cases.