-
-
Notifications
You must be signed in to change notification settings - Fork 599
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
Lack of support for const enum
in typescript
#463
Comments
Thanks for opening an issue. Citing the issue template:
Please add a reproduction and we'll be happy to triage further. |
ShaMan123
added a commit
to fabricjs/fabric.js
that referenced
this issue
Aug 27, 2022
ShaMan123
added a commit
to fabricjs/fabric.js
that referenced
this issue
Aug 27, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How Do We Reproduce?
In a ts file, I have an enum like this:
I've been using
@rollup/plugin-typescript
version 2.17.1 until today and it was working fine.However, when I just tried to upgrade to 4.1.2, I get the following error:
The weird thing is that if I convert the enum to a normal object, it works. I've tested it with other enums and I have the same result
Expected Behavior
The build succeeds
Actual Behavior
Typescript build fails
The text was updated successfully, but these errors were encountered: