Skip to content

Commit db959a0

Browse files
authored
remove ctor check
1 parent 6a7373b commit db959a0

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
@@ -366,7 +366,7 @@ function handleMethodAndConstructor(
366366
};
367367
if (typeof signatureIndex == "number") {
368368
signature = { [signatureIndex]: signatureObj };
369-
} else if (!isConstructor) {
369+
} else {
370370
signature = [signatureObj];
371371
}
372372
}

0 commit comments

Comments
 (0)