Skip to content

Commit eaaaac7

Browse files
committed
fixup!
1 parent 62a388c commit eaaaac7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/generators/legacy-json/utils/parseList.mjs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,7 @@ export function parseList(section, nodes) {
109109
case 'property':
110110
// For properties, update type and other details if values exist
111111
if (values.length) {
112-
const { type, ...rest } = values[0];
113-
section.type = type;
114-
leftHandAssign(section, rest);
115-
section.textRaw = `\`${section.name}\` ${section.textRaw}`;
112+
leftHandAssign(section, values[0]);
116113
}
117114
break;
118115

0 commit comments

Comments
 (0)