Skip to content

Commit d99cf4e

Browse files
committed
lint
1 parent 64bf1aa commit d99cf4e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: packages/react-docgen/src/utils/getMemberExpressionValuePath.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ const explodedVisitors = visitors.explode<TraverseState>({
8787
const property = memberPath.get('property');
8888

8989
if (
90-
(!memberPath.node.computed || property.isStringLiteral() || property.isNumericLiteral()) &&
90+
(!memberPath.node.computed ||
91+
property.isStringLiteral() ||
92+
property.isNumericLiteral()) &&
9193
getNameOrValue(property) === state.memberName &&
9294
toString(memberPath.get('object')) === state.localName
9395
) {

0 commit comments

Comments
 (0)