Skip to content

Commit ade24b6

Browse files
committed
Revert incorrect comment change
1 parent 2c54655 commit ade24b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rules/forbid-foreign-prop-types.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ module.exports = {
109109
&& !ast.isAssignmentLHS(node)
110110
&& !isAllowedAssignment(node)
111111
)) || (
112-
// @ts-expect-error: Literal is not a valid type
112+
// @ts-expect-error: The JSXText type is not present in the estree type definitions
113113
(node.property.type === 'Literal' || node.property.type === 'JSXText')
114114
&& 'value' in node.property
115115
&& node.property.value === 'propTypes'

0 commit comments

Comments
 (0)