TypeScript
Differentiation through naming

by Benny Neugebauer

enum StopPriceState {
  RAISED = 'RAISED',
  REACHED = 'REACHED',
  REMAINED = 'REMAINED',
}

enum StopPriceState {
  INCREASED = 'INCREASED',
  REACHED = 'REACHED',
  UNCHANGED = 'UNCHANGED',
}