From c38ec302d3be79aeaf4ef92c1e0ad091cf4fa4f3 Mon Sep 17 00:00:00 2001 From: NoScripter Date: Sat, 16 Feb 2019 19:52:30 +0800 Subject: [PATCH] [Docs] Improve wording for `checkPropTypes` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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