-
Notifications
You must be signed in to change notification settings - Fork 233
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
Convert to TypeScript #520
Conversation
this can be reverted when `pure.js` is converted to typescript
just a rename 😅
…/no-unresolved for now
- see: https://prettier.io/blog/2020/08/24/2.1.0.html\#type-annotations-on-catch-clauses-8805httpsgithubcomprettierprettierpull8805-by-fiskerhttpsgithubcomfisker - Updated prettier in local devDeps to resolve directly to newest supported version
… operator TS expecting explicit return of undefined from arrow function with type Expected to return a value at the end of arrow function.eslintconsistent-return resolved by passing return in catch with undefined, same behavior more explicit
…and previous tests pass
- File needs better, improved typing and Refactoring for Linter Disables to be removed IF POSSIBLE
- Types and OR check should handle expected behavior
this should allow typescript to infer the type of result.current further improvments needed to add type guards
renamed tests that didn't require code changes to the tests
- Amr, Tiger and myself worked on these commits - Other Raid members in chat assisted - All tests are strongly typed with minimal types to allow for working and made sure tests types were easily usable with types in Pure and Utils file, allow for good UX & DX
Codecov Report
@@ Coverage Diff @@
## master #520 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 4 4
Lines 127 120 -7
Branches 24 22 -2
=========================================
- Hits 127 120 -7
Continue to review full report at Codecov.
|
…peing to waitForValueToChange options
@mpeyper The issues you listed in the previous PR have been resolved and if there isn't anything else this should be ready for merging. Let us know what you think 🙂 |
Thanks, I'll take a look today. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking very close. A couple of comments here, mostly minor stuff.
🎉 This PR is included in version 4.0.0-beta.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
ok, it's been long enough... I'm going to release this for real now |
🎉 This PR is included in version 4.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
What:
Converting library to TypeScript, issue #498
Removes deprecated wait util (as per discussion in KCD Discord)
https://discord.com/channels/715220730605731931/785649901782433852/786338242101379142
Creating this PR on behalf of @tigerabrodi we and other people from KCD Discord are going to work on it as a group
Checklist: