Issue#11510: added verification check for misspelled propTypes (#11524)
* added verification check for misspelled propTypes * added flag to check if misspelled warning was shown to developer before * added the condition to else if and improved the warning message * moved variable under dev section & initialized it to false * added test to confirm the missmatch prop type warning in both and tests files * removed eslint disable and split error into 2 lines * changed expectDev to expect in tests * added __DEV__ condition before both tests
Z
Zubair Ahmed committed
7d27851bf4aa8129276614b62edf9ade4aaa4cbd
Parent: 46dd197
Committed by Dan Abramov <dan.abramov@gmail.com>
on 11/24/2017, 2:59:46 AM