I am getting the following error when opening the Angular project from IE11:
SCRIPT1002: Syntax error
vendor.js (224520,1)
The line (224520
) which produces the error looks like this:
class PreventableEvent {
constructor() {
this.prevented = false;
}
...
So, the issue is clear. The typescript has not being transpiled completely. Now I am stuck because I do not know how could I fix it.
The file which contains the non transpiled output is situated at ./node_modules/@progress/kendo-angular-layout/dist/es2015/tabstrip/tabstrip-events.js
.
So, I am feeling that I need to somehow to either use a different version of a file (if such is present somewhere) or get Angular to transpile the file or do something completely different.
Could you, please, help me make my app run in the IE11 by suggesting the steps I could undertake to fix the described above issue?
Also, I just have checked that Chrome gots the same code (I mean the class...
in the 224520
line of the vendor.js
). And it works just fine. I believe that is because Chrome is supporting the class
keyword.