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
Commits on Dec 9, 2020
-
-
-
-
-
disable eslint for cleanup import
this can be reverted when `pure.js` is converted to typescript
Commits on Dec 10, 2020
Commits on Dec 11, 2020
-
Prettier was stripping try catch types
- 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
-
Type for callback handle generic input & undefined handled by nullish…
… 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
-
-
Utilizing OR operator with generic Types allows for desired behavior …
…and previous tests pass
-
-
Minimum types started for Pure file
- File needs better, improved typing and Refactoring for Linter Disables to be removed IF POSSIBLE
-
removed comments -- answered in PR
- Types and OR check should handle expected behavior
-
-
-
-
Commits on Dec 12, 2020
-
-
-
-
Generic type for resultContainer
this should allow typescript to infer the type of result.current further improvments needed to add type guards
-
convert tests that require no changes
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
-
-
-
-
-
Commits on Dec 13, 2020
Commits on Dec 14, 2020
-
-
-
-
-
Removes createTimeoutError. Adds constructor to TimeoutError. Adds ty…
…peing to waitForValueToChange options