diff --git a/README.md b/README.md index 1a23c9d..4a62326 100644 --- a/README.md +++ b/README.md @@ -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