We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0e5c13 commit 25a4b77Copy full SHA for 25a4b77
1 file changed
src/build/patches.ts
@@ -190,10 +190,8 @@ function handleMixinAndInterfaces(
190
break;
191
}
192
case "constructor": {
193
- if (constructor) {
194
- throw new Error(`Multiple constructors found in ${type} "${name}"`);
195
- }
196
- constructor = handleMethodAndConstructor(child, true);
+ const c = handleMethodAndConstructor(child, true);
+ constructor = merge(constructor, c);
197
198
199
case "typeParameters": {
0 commit comments