We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab4da9f commit 7e09de1Copy full SHA for 7e09de1
lib/rules/prop-types.js
@@ -276,8 +276,9 @@ module.exports = function(context) {
276
unionTypeDefinition.children = true;
277
return unionTypeDefinition;
278
}
279
- unionTypeDefinition.children.push(type);
280
+
281
+ unionTypeDefinition.children.push(type);
282
283
if (unionTypeDefinition.length === 0) {
284
// no complex type found, simply accept everything
0 commit comments