Skip to content

Commit 87954ce

Browse files
committed
-
1 parent 1779cd3 commit 87954ce

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/build/patches.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,7 @@ function handleProperty(child: Node): DeepPartial<Property> {
275275
...optionalMember("exposed", "string", child.properties?.exposed),
276276
...optionalMember("optional", "boolean", child.properties?.optional),
277277
...optionalMember("overrideType", "string", child.properties?.overrideType),
278-
...(typeNodes.length > 0
279-
? handleTyped(typeNodes, child.properties?.type)
280-
: optionalMember("type", "string", child.properties?.type)),
278+
...handleTyped(typeNodes, child.properties?.type),
281279
...optionalMember("readonly", "boolean", child.properties?.readonly),
282280
...optionalMember("deprecated", "string", child.properties?.deprecated),
283281
};

0 commit comments

Comments
 (0)