Skip to content

Commit 27d8b6e

Browse files
ocavueljharb
authored andcommitted
Try remove @ts-expect-error
1 parent e7cfbf1 commit 27d8b6e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

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

0 commit comments

Comments
 (0)