Skip to content

Commit e677d82

Browse files
lukeapageljharb
andauthored
Update lib/util/propTypes.js
Co-Authored-By: Jordan Harband <[email protected]>
1 parent 39c44ce commit e677d82

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/util/propTypes.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,8 @@ module.exports = function propTypesInstructions(context, components, utils) {
549549
if (propTypes.id.name === '$ReadOnly') {
550550
ignorePropsValidation = declarePropTypesForObjectTypeAnnotation(
551551
propTypes.typeParameters.params[0],
552-
declaredPropTypes);
552+
declaredPropTypes
553+
);
553554
} else {
554555
ignorePropsValidation = true;
555556
}

0 commit comments

Comments
 (0)