Closed centrual closed 4 years ago
Hi @centrual,
That's an amazing PR! Unfortunately like I was saying you in our email exchange, we're not planning currently to convert the project to TypeScript. TypeScript definitions are fine if it can help TypeScript users but we're happy developing the product in ES6 for now. I sincerely hope it wasn't too much work to push a PR like that, I appreciate your commitment to the project.
Thanks
Hello,
I tried to cover every method definitions. There is no usage difference between javascript and typescript version.
I didn't test the code. Please check it before merge.
npm run build
command will build all files intodist
folder. You can usenpm publish
command insidedist
folder directly. Build command copies required files todist
folder automatically.Have a great day!