We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4f7e30 commit 509f2cbCopy full SHA for 509f2cb
lib/rules/prop-types.js
@@ -467,7 +467,7 @@ module.exports = {
467
* the property is declared without the need for further analysis.
468
*/
469
function buildTypeAnnotationDeclarationTypes(annotation, seen) {
470
- if (seen === void 0) {
+ if (typeof seen === 'undefined') {
471
// Keeps track of annotations we've already seen to
472
// prevent problems with recursive types.
473
seen = new Set();
0 commit comments