Skip to content

Commit 40ef279

Browse files
committed
Try remove @ts-expect-error
1 parent 4290504 commit 40ef279

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
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)