Skip to content

refactor: reduce eslint-warnings & type changes #543

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

Conversation

joshuaellis
Copy link
Member

I think we removed isPromise thinking we didn't need it, but it rears it's head again! I also added the undefined bit just to make the act wrapper function a bit cleaner.

@codecov
Copy link

codecov bot commented Jan 15, 2021

Codecov Report

Merging #543 (b8b9c8b) into fix/reduce-error-suppression (cdc351a) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@                      Coverage Diff                       @@
##           fix/reduce-error-suppression      #543   +/-   ##
==============================================================
  Coverage                        100.00%   100.00%           
==============================================================
  Files                                16        16           
  Lines                               223       225    +2     
  Branches                             25        25           
==============================================================
+ Hits                                223       225    +2     
Impacted Files Coverage Δ
src/helpers/act.ts 100.00% <100.00%> (ø)
src/helpers/promises.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cdc351a...b8b9c8b. Read the comment docs.

@mpeyper
Copy link
Member

mpeyper commented Jan 15, 2021

This is better, thanks.

@mpeyper mpeyper merged commit 68460e4 into fix/reduce-error-suppression Jan 15, 2021
@mpeyper mpeyper deleted the fix/reduce-error-suppression--suggestions branch January 15, 2021 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants