Skip to content

Compatibility with react

Compare
Choose a tag to compare
@timostamm timostamm released this 11 Sep 21:51
0689632

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!