__extends and static methods / accessors
var__extendStatics=(this&&this.__extendStatics)||Object.setPrototypeOf||({__proto__: []}instanceofArray&&function(d,b){d.__proto__=b;})||function(d,b){for(varpinb)if(b.hasOwnProperty(p))d[p]=b[p];};var__extends=(this&&this.__extends)||function(d,b){__extendStatics(d,b);function__(){this.constructor=d;}d.prototype=b===null ? Object.create(b) : (__.prototype=b.prototype,new__());};- What about the other side of the issue, emitting methods and accessors as
enumrable: false?
- we have to do it for
--target ES5 and not --target ES3 - if we do this we break the static inheritance for IE10,
- concolusion:
- wait on more feedback for this
Promise in lib.d.ts
__extendsand static methods / accessorsskatejs reported issue
Previously reported issues:
PR from @vvakame to change
__extendsimpementationthe
forloop is there to support browsers pre__proto__, e.g. IE8, IE9, and IE10Condition it:
enumrable: false?--target ES5and not--target ES3Promisein lib.d.tsIssues:
PromiseLike(actually returns aPromise)DOM keeps moving forward, but the lib.d.ts does not
Resolution:
Extensibility (Ryan Cavanaugh (@RyanCavanaugh))