Skip to content
This repository was archived by the owner on Jul 6, 2022. It is now read-only.

fix: export enums without declaring them with 'const'#673

Merged
atmoio merged 1 commit intomasterfrom
fix/export-enums
Mar 24, 2022
Merged

fix: export enums without declaring them with 'const'#673
atmoio merged 1 commit intomasterfrom
fix/export-enums

Conversation

@vardan-arm
Copy link
Copy Markdown
Contributor

@vardan-arm vardan-arm commented Mar 24, 2022

Description

Export enums without declaring them as const

Otherwise TypeScript throws the following error when using them in other modules, where isolatedModules flag is set to TRUE:
Cannot access ambient const enums when the '--isolatedModules' flag is provided.
(more details here)

Related Issue(s)

Checklist

  • This PR has NO tests

@vardan-arm vardan-arm requested review from atmoio and karolsojko March 24, 2022 14:48
@atmoio atmoio merged commit 5a075b2 into master Mar 24, 2022
@atmoio atmoio deleted the fix/export-enums branch March 24, 2022 16:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants