Skip to content

Commit e071d2a

Browse files
michalsnikarmano2
authored andcommitted
Update require-prop-types.js
1 parent d401431 commit e071d2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rules/require-prop-types.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ function create (context) {
1111
// Helpers
1212
// ----------------------------------------------------------------------
1313

14-
function objectHasType (nodes) {
15-
const typeProperty = nodes.properties
14+
function objectHasType (node) {
15+
const typeProperty = node.properties
1616
.filter(p =>
1717
utils.getStaticPropertyName(p.key) === 'type' &&
1818
(

0 commit comments

Comments
 (0)