invertase / denque

The fastest javascript implementation of a double-ended queue. Used by the official Redis, MongoDB, MariaDB & MySQL libraries for Node.js and many other libraries.
https://docs.page/invertase/denque
Apache License 2.0
354 stars 33 forks source link

Clean a bit and go with typescript #22

Closed danielpza closed 5 years ago

danielpza commented 5 years ago

Hi, I wanted to see how this project was implemented and ended up with converting the code to typescript and some minor things. The implementation of how the code works has not been touched, it should work all the same.

This PR doesn't bring any important change but since I put some effort in it I should make a PR.

The resulting code after compilation is pretty much the same, the class is converted to function and prototype as the original code.

CLAassistant commented 5 years ago

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.