Skip to content

Commit 7d5d356

Browse files
Bashamegasaschanaz
andauthored
Update src/build/patches.ts
Co-authored-by: Kagami Sascha Rosylight <[email protected]>
1 parent f4e6911 commit 7d5d356

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/build/patches.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ function handleMixinAndInterfaces(
238238
}
239239

240240
const interfaceObject = type === "interface" && {
241-
...optionalNestedMember("typeParameters", typeParameters, typeParameters),
241+
...typeParameters.length : { typeParameters } : {},
242242
...(constructor ? { constructor } : {}),
243243
...optionalMember("exposed", "string", node.properties?.exposed),
244244
...optionalMember("deprecated", "string", node.properties?.deprecated),

0 commit comments

Comments
 (0)