Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

Commit

Permalink
[Docs] Improve wording for checkPropTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
noscripter authored and ljharb committed Feb 16, 2019
1 parent 953ed9b commit c38ec30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ PropTypes.checkPropTypes(myPropTypes, props, 'age', 'MyComponent');

## PropTypes.resetWarningCache()

`PropTypes.checkPropTypes(...)` only `console.error.log(...)`s a given message once. To reset the cache while testing call `PropTypes.resetWarningCache()`
`PropTypes.checkPropTypes(...)` only `console.error`s a given message once. To reset the error warning cache in tests, call `PropTypes.resetWarningCache()`

### License

Expand Down

0 comments on commit c38ec30

Please sign in to comment.