TypeScript 1.4 saw the introduction of the const enum
type. Enumerations have been around since version 0.9, but we're just seeing constant enumerations for the first time. So how do they differ? Well, maybe not in the way(s) that you expected, so let's take a look.
Read on