Issue in compiled JS
tomcorke opened this issue · 3 comments
Hello,
2.17.0 seems to have reverted some previous changes (made just hours before) to the javascript file, specifically in how __extends is defined.
This is a breaking issue when used via babel in some environments, as this.__extends
is replaced with undefined.__extends
I suspect it is a typescript compiler version issue, as compiling this locally with the latest compiler produces the earlier version.
Relevant lines:
2.17.0: 3853663
var __extends = this.__extends || function (d, b) {
Earlier commit: 0236881
var __extends = (this && this.__extends) || function (d, b) {
I am currently affected my this issue. Has there been any progress in resolving?
I ended up forking, recompiling (after removing IE8-specific behaviour which TypeScript doesn't officially support any more) and using that.
I fixed the issue in my build system, and released the (correctly) recompiled files as part of the latest release, 2.17.3.