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

Support untyped mode in enums #61

Closed
evmar opened this issue Feb 11, 2016 · 0 comments
Closed

Support untyped mode in enums #61

evmar opened this issue Feb 11, 2016 · 0 comments
Assignees

Comments

@evmar
Copy link
Contributor

evmar commented Feb 11, 2016

When emitting an enum in untyped mode, we still want to emit some of the glue code we currently emit, but we shouldn't emit any of the types.

See this test output:
https://github.com/angular/sickle/blob/b4c9b8e32c2922626c83a69dbfbef5718272aeeb/test_files/sickle/enum.ts

We should preserve the (EnumTest1).XYZ = 0; bit, but drop all the closure annotations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant