Skip to content

Enumerations not converted to numbers #143

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

Closed
edgarhsanchez opened this issue Jul 2, 2016 · 1 comment
Closed

Enumerations not converted to numbers #143

edgarhsanchez opened this issue Jul 2, 2016 · 1 comment

Comments

@edgarhsanchez
Copy link

With the same typescript .config file I build the project directly with the typescript compiler and then again with this jspm plugin and I get different behavior for enumerations. Perhaps something isn't passing through to the typescript compiler when this plugin is in the middle?

@frankwallis
Copy link
Owner

This is because the plugin uses 'single-file' mode when transpiling the files, so it is not possible to convert enums to their values as the values are not avbailable at transpile time. See here for more info.

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

2 participants