Closed drwatson1 closed 6 years ago
Hi, I am compiling the source using ES5 and ES6 as output for typescript compiler. Depending on the IE version, it does not support ES5 yet. Which version of IE are you using?
I did not try to compile it to ES3 and don't know if there is a problem to generate an ES3 version, but we can try it
I'm using IE 11. But as outlined here IE support ES5 from version 9.
IE9 has 83% functionality of ES5, IE10-11 - 99%.
I think It would be great to determine the exact reason of this behavior. May be there is another solution that can work in IE.
We have the same problem and were able to fix it locally. Can I create Pull request for this?
@cfmano Yes. A PR is very welcome!
... but works fine in Edge and Chrome.
I've created a repo to reproduce the problem here: https://github.com/drwatson1/typescript-ioc-example
If you'll try to open the example in IE you'll see these errors:
... and so on.