-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Please provide ES5 target #311
Comments
Can you be more specific about your intended target environment. What is it you're sayin ES6 target code is incompatible with? |
Here's the TypeScript issue that previously blocked a simple implementation of this feature request: microsoft/TypeScript#3164. Basically the capability to use JavaScript This has gotten some recent work by the TypeScript team, with PR microsoft/TypeScript#12346. So we should be able to support this now. @nehaagrawal, @sdcb. @michael-bowen-sc: Please provide details on scenario/target environment you are interested in. I don't want to do the work to fix this one case and find you're still not getting what you want. |
Thanks BurtHarris for replying. There are multiple reasons we need ES5
|
More notes on a possible solution: The new feature in TypeScript 2.3 that may enable this is the |
@nehaagrawal not sure if this will help, but I was able to work around this issue using Babel to transpile the antlr4ts ES6 to ES5. We use Webpack2 and I was able to get it working with a config like this;
|
We are transpiling our project to ES5 but antrl4ts is using ES6. I have read that it's incompatible and we can't use it till you provide the ES5 version . Is there a way around?
Thanks!
The text was updated successfully, but these errors were encountered: