diff --git a/README.md b/README.md index 1a23c9d..dc7e693 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` a given message once, to reset the error warning cache in tests please call `PropTypes.resetWarningCache()` ### License