Cannot use reflection on enums

Issue #95 resolved
Edward Brey
created an issue

As of TypeLite 1.3.1 with the instruction of issue #90 to add const to enums, it is now not possible to use reflection in JavaScript code on generated enums to access the enum names as strings, etc.

This is a breaking change. The version number should have been bumped to TypeLite 2.0. More importantly, please include an option for the enums to not be marked as const.

Comments (5)

  1. Log in to comment