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

Cannot accessLayoutPriority const enum when '--isolatedModules' flag is provided #358

Closed
johnwalley opened this issue Jul 11, 2022 · 0 comments · Fixed by #359
Closed

Cannot accessLayoutPriority const enum when '--isolatedModules' flag is provided #358

johnwalley opened this issue Jul 11, 2022 · 0 comments · Fixed by #359
Assignees
Labels
enhancement New feature or request

Comments

@johnwalley
Copy link
Owner

This prevent some consuming applications from using the enum.

The exact message is:

Cannot access ambient const enums when the '--isolatedModules' flag is provided.

The proposed solution is to drop the const and use a regular enum.

@johnwalley johnwalley self-assigned this Jul 11, 2022
@johnwalley johnwalley added the enhancement New feature or request label Jul 11, 2022
@johnwalley johnwalley linked a pull request Jul 11, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant