Compatibility with react
Previous releases were using const enums. They are incompatible with the compiler option "isolatedModules" used by react.
This release:
-
changes all const enum declarations to plain enum
-
updates generated reflection information to numerical literal with a comment to keep code size small
-
activates compiler option "isolatedModules" for the "test-generated" package to cover regressions
Thanks to @pedelman for bringing this issue up!