First, let me state that I don't expect you to actually review this (of course, if you do, awesome!). Looking over 62 changed files, 5k additions, and 11.5k deletions at the time of writing from a stranger is a daunting task, and you may not even care to have this library moved to TypeScript (no problem at all!).
Notes
Caveat: I removed the docs generation (and other stuff), which makes this PR a non-starter in its current state. Of course, it could be added back, though I have no incentive to spend time on that at the moment. Apologies for that!
You are free to take this and do with it what you want. Of course, I'd be happy to get this merged so I don't have to rebase your future work, but the trade-offs make that hard for me as of now.
All that said, I wanted to share my incomplete work just in case it might help you (or another contributor) finish the transition, if that's a desired outcome.
First, let me state that I don't expect you to actually review this (of course, if you do, awesome!). Looking over 62 changed files, 5k additions, and 11.5k deletions at the time of writing from a stranger is a daunting task, and you may not even care to have this library moved to TypeScript (no problem at all!).
Notes
Thanks for your time! Happy coding.