Closed callmehiphop closed 5 years ago
I always ping @blakeembrey when I have typescript questions 😹
This is awesome, and will save me a lot of pain.
I can understand if there is a desire to keep TS out of here, I'm pretty the only change we really need here is the default
export.
Closes #24
I should probably mention that I'm probably not the best person to do this, please be gentle!
I had some issues trying to subclass duplexify with the
@types/duplexify
module, I believe what I'm proposing will allow it to be done and remove the need for a wildcard import. Since I've added a default export, I think this is going to blow up anyone's project that is using@types/duplexify
though.