We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab5b92a commit 6509e19Copy full SHA for 6509e19
lib/rules/boolean-prop-naming.js
@@ -256,8 +256,9 @@ module.exports = {
256
return;
257
}
258
259
- const typeAnnotation = component.node.parent.id.typeAnnotation.typeAnnotation;
260
- const annotationTypeArguments = propsUtil.getTypeArguments(typeAnnotation);
+ const annotationTypeArguments = propsUtil.getTypeArguments(
+ component.node.parent.id.typeAnnotation.typeAnnotation
261
+ );
262
if (
263
annotationTypeArguments && (
264
annotationTypeArguments.type === 'TSTypeParameterInstantiation'
0 commit comments