-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add TypeScript Types #211
base: master
Are you sure you want to change the base?
Add TypeScript Types #211
Conversation
Getting the types right on this library is way harder than I though it would be. 😫 |
d409acd
to
67a71ed
Compare
8a78898
to
ba60c9b
Compare
This has really turned into a much bigger job than I initially thought it would be (or maybe I'm just doing a bit of overkill 😛). Anyway, @TehShrike I think I've got the types right now. (idk what Travis is doing, it hasn't successfully booted a vm all day). Would you be able to review? Or get someone else to? I might add some more test and maybe refactor things a little more so they are easier to follow - even I am getting a little confused with all the mapped types going on. Also, small note: Some of the parts of the typings rely on some new features in TypeScript 4.1 which isn't out yet (I'm using the RC). I believe TS 4.1 will be released sometime next week. |
ba60c9b
to
6e52e65
Compare
ac5cb5c
to
acbe9b7
Compare
acbe9b7
to
bab1c5f
Compare
Why didn't we ever merge this? |
This is a continuation of the work @bryan-hunter did in #198.
Fixes #147, fixes #179.
Closes: #148, closes #181, closes #198.