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
You're using import/export syntax so you must have a transpile step like babel. Can you post an example using just built-in syntax with no third-party dependencies?
It was a known issue from babel when trying to extend built-in classes, with a plugin provided as a workaround. I guess the change was that from Node 6.5.0 Promise starts to behaves a lot more like a built-in class.
I'm writing a library that extends Promise class. In version 6.5.0, I've started to see the errors being thrown when trying to construct the subclass:
Here is the source code for
ChainedPromise
The text was updated successfully, but these errors were encountered: