We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1779cd3 commit 87954ceCopy full SHA for 87954ce
src/build/patches.ts
@@ -275,9 +275,7 @@ function handleProperty(child: Node): DeepPartial<Property> {
275
...optionalMember("exposed", "string", child.properties?.exposed),
276
...optionalMember("optional", "boolean", child.properties?.optional),
277
...optionalMember("overrideType", "string", child.properties?.overrideType),
278
- ...(typeNodes.length > 0
279
- ? handleTyped(typeNodes, child.properties?.type)
280
- : optionalMember("type", "string", child.properties?.type)),
+ ...handleTyped(typeNodes, child.properties?.type),
281
...optionalMember("readonly", "boolean", child.properties?.readonly),
282
...optionalMember("deprecated", "string", child.properties?.deprecated),
283
};
0 commit comments