Skip to content

Commit 33601e4

Browse files
keidy9claude
andcommitted
chore: apply oxfmt formatting
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent a56859f commit 33601e4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/mcp/src/utils/parse-react-docgen.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ const serializeRdtType = (
109109
const value = (type as { value?: unknown }).value;
110110
if (type.name === 'enum' && Array.isArray(value)) {
111111
const members = value
112-
.map((v) => (v && typeof v === 'object' && 'value' in v ? (v as { value: unknown }).value : undefined))
112+
.map((v) =>
113+
v && typeof v === 'object' && 'value' in v ? (v as { value: unknown }).value : undefined,
114+
)
113115
.filter((v): v is string => typeof v === 'string');
114116
if (members.length > 0) return members.join(' | ');
115117
}

0 commit comments

Comments
 (0)