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 e6e3f43 commit ea95b66Copy full SHA for ea95b66
src/generators/legacy-json/utils/parseList.mjs
@@ -94,7 +94,14 @@ export function parseList(section, nodes) {
94
95
// Update the section based on its type and parsed values
96
switch (section.type) {
97
- case 'ctor':
+ case 'ctor': {
98
+ const signature = parseSignature(section.textRaw, values);
99
+
100
+ Object.keys(signature).forEach(key => (section[key] ??= signature[key]));
101
102
+ break;
103
+ }
104
105
case 'classMethod':
106
case 'method':
107
// For methods and constructors, parse and attach signatures
0 commit comments