You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Custom error object is no longer typeof Error from TypeScript 2.1 #2178
Means, all of custom errors in RxJS v5 (i.e TimeoutError) is not typeof Error, will break existing code if anyone does type checking for those, as well as existing test cases too.
Activity
kwonoj commentedon Dec 8, 2016
Assigning myself for now.
fix(Error): patch custom Error object to inherit base Error
fix(Error): patch custom Error object to inherit base Error
fix(Error): patch custom Error object to inherit base Error
kwonoj commentedon Feb 10, 2017
Seems 2.2 have enhancement support for this : https://github.com/Microsoft/TypeScript/wiki/What's-new-in-TypeScript#support-for-newtarget
chore(TypeScript): Upgrade TypeScript to 2.2
chore(TypeScript): Upgrade TypeScript to 2.2
tetsuharuohzeki commentedon Mar 3, 2017
@kwonoj
IE9 & IE10 does not have
__proto__. I feel it would not work well for them.kwonoj commentedon Apr 16, 2017
I'm closing this issue since we don't have exact plans to bump up compiler, can revisit later once things are getting clear.
lock commentedon Jun 6, 2018
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.