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

fix(common): preserve const enums in tsc build 🌱 #10492

Merged

Conversation

mcdurdin
Copy link
Member

@mcdurdin mcdurdin commented Jan 24, 2024

Fixes #10486.

Note: we are not enabling this globally, because KeymanWeb can break on some of its modules. Something for us to consider for the future.

I audited usage of const enum elsewhere and found it only in common/web/types and developer/src/kmc-kmn.

@keymanapp-test-bot skip

@keymanapp-test-bot keymanapp-test-bot bot changed the title fix(common): preserve const enums in tsc build fix(common): preserve const enums in tsc build 🌱 Jan 24, 2024
@keymanapp-test-bot keymanapp-test-bot bot added this to the A17S31 milestone Jan 24, 2024
@mcdurdin mcdurdin force-pushed the fix/common/10486-preserve-const-enums branch from f796fff to 2aa640e Compare January 24, 2024 03:19
@github-actions github-actions bot added common/ and removed common/ labels Jan 24, 2024
Base automatically changed from fix/developer/10485-missing-imports to epic/core/9999-normalization January 24, 2024 04:40
Copy link
Contributor

@darcywong00 darcywong00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcdurdin mcdurdin merged commit e10c0f5 into epic/core/9999-normalization Jan 24, 2024
19 checks passed
@mcdurdin mcdurdin deleted the fix/common/10486-preserve-const-enums branch January 24, 2024 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(developer): kmc build for a ldml keyboard project fails on the keyboard_info step
2 participants