Web Analytics
By clicking "Accept" you agree to our privacy and cookie policy.
typescriptTypeScript enums: How do they work?
JavaScript has one type with a finite amount of values: boolean, which has the values true and false and no other values. With enums, TypeScript lets you define similar types statically yourself. Read more