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
Closed

add support for const enums #11

bergi9 opened this issue Oct 4, 2017 · 3 comments

Comments

@bergi9
Copy link
Contributor

@bergi9 bergi9 commented Oct 4, 2017

No description provided.

@jburzynski
Copy link
Owner

@jburzynski jburzynski 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
Copy link
Contributor Author

@bergi9 bergi9 commented Oct 5, 2017

Yes, thank you.

jburzynski added a commit that referenced this issue Oct 5, 2017
@jburzynski
Copy link
Owner

@jburzynski jburzynski 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
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants