Skip to content

Commit

Permalink
fix undefined error
Browse files Browse the repository at this point in the history
  • Loading branch information
adamviktora committed Oct 2, 2024
1 parent ecb207c commit 17f2235
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ module.exports = {
},
Identifier(node: Identifier) {
const typeName = (node as any).typeAnnotation?.typeAnnotation?.typeName
.name;
?.name;

if (splitButtonOptionsLocalNames.includes(typeName)) {
context.report({
Expand Down

0 comments on commit 17f2235

Please sign in to comment.