Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop const enums - fixes #3 #4

Merged
merged 1 commit into from
Sep 11, 2020
Merged

Drop const enums - fixes #3 #4

merged 1 commit into from
Sep 11, 2020

Conversation

timostamm
Copy link
Owner

Const enums conflict with typescript compiler option "isolatedModules". See #3.

This PR:

  • 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

const enums conflict with typescript compiler option "isolatedModules".

- Changed all const enum declarations to plain enum

- Update generated reflection information to numerical literal with a comment to keep code size small

- activated compiler option "isolatedModules" for the "test-generated" package to cover regressions
@timostamm timostamm merged commit 0689632 into master Sep 11, 2020
@timostamm timostamm mentioned this pull request Oct 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant