Starting with Typescript 1.5 all non-const enum members are not inlined.
Recommendation: Add the const modifier to the enum declaration to ensure it is consistently inlined at all consumption sites. See issue #2183
Can the "Create TypeScript Intellisense file" add the const modifier?
TypeScript 1.5 made a breaking change to enums. The relevant part is quoted below.
Can the "Create TypeScript Intellisense file" add the
const
modifier?