Avoid duplicate constructors
This commit is contained in:
@@ -78,6 +78,7 @@ function generateExterns(symbols) {
|
|||||||
lines.push(symbol.name + ';');
|
lines.push(symbol.name + ';');
|
||||||
} else {
|
} else {
|
||||||
if (symbol.kind == 'class') {
|
if (symbol.kind == 'class') {
|
||||||
|
constructors[name] = true;
|
||||||
lines.push(' * @constructor');
|
lines.push(' * @constructor');
|
||||||
}
|
}
|
||||||
if (symbol.types) {
|
if (symbol.types) {
|
||||||
|
|||||||
Reference in New Issue
Block a user