Skip to content
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

[Fix] prop-types, propTypes: add handling for FC<Props>, improve tests #3051

Merged
merged 1 commit into from Aug 27, 2021

Conversation

vedadeepta
Copy link
Contributor

@vedadeepta vedadeepta commented Aug 26, 2021

follow up to this: #3049 (comment)

@codecov-commenter
Copy link

codecov-commenter commented Aug 26, 2021

Codecov Report

Merging #3051 (3f1fe12) into master (77813f0) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3051   +/-   ##
=======================================
  Coverage   97.40%   97.41%           
=======================================
  Files         111      111           
  Lines        7473     7492   +19     
  Branches     2736     2748   +12     
=======================================
+ Hits         7279     7298   +19     
  Misses        194      194           
Impacted Files Coverage Δ
lib/util/propTypes.js 97.06% <100.00%> (+0.09%) ⬆️

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 77813f0...3f1fe12. Read the comment docs.

lib/util/propTypes.js Outdated Show resolved Hide resolved
lib/util/propTypes.js Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

react/prop-types - False positive when ternary conditional return
3 participants