enums typescript

Estimated reading time: 1 minute

enums

enums is a set of named constant . enums is a object type

enum languages {
    ruby , python, java, php
}
myLanguage: languages.ruby
node.js, js, typescript, ts