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

add support for const enums #11

Closed
bergi9 opened this issue Oct 4, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@bergi9
Copy link
Contributor

commented Oct 4, 2017

No description provided.

@jburzynski

This comment has been minimized.

Copy link
Owner

commented Oct 4, 2017

I'll add this to the next release (probably out in a couple of days).
Just to be sure: do you mean TypeScript const enum syntax? Something like: const enum MyEnum { A, B, C } ?

@bergi9

This comment has been minimized.

Copy link
Contributor Author

commented Oct 5, 2017

Yes, thank you.

jburzynski added a commit that referenced this issue Oct 5, 2017

@jburzynski

This comment has been minimized.

Copy link
Owner

commented Oct 5, 2017

Added in 1.5.7.
You can set IsConst property of ExportTsEnumAttribute to true.

@bergi9 bergi9 closed this Oct 5, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.