chore(doc-gen): fix spacing in heritage clauses
This commit is contained in:
parent
9e1158de4f
commit
355ced92eb
|
@ -147,14 +147,14 @@ module.exports = function readTypeScriptModules(tsParser, readFilesProcessor, mo
|
||||||
decl.heritageClauses.forEach(function(heritage) {
|
decl.heritageClauses.forEach(function(heritage) {
|
||||||
|
|
||||||
if (heritage.token == ts.SyntaxKind.ExtendsKeyword) {
|
if (heritage.token == ts.SyntaxKind.ExtendsKeyword) {
|
||||||
heritageString += " extends ";
|
heritageString += " extends";
|
||||||
heritage.types.forEach(function(typ, idx) {
|
heritage.types.forEach(function(typ, idx) {
|
||||||
heritageString += (idx > 0 ? ', ' : '') + typ.getFullText();
|
heritageString += (idx > 0 ? ',' : '') + typ.getFullText();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (heritage.token == ts.SyntaxKind.ImplementsKeyword) {
|
if (heritage.token == ts.SyntaxKind.ImplementsKeyword) {
|
||||||
heritageString += " implements ";
|
heritageString += " implements";
|
||||||
heritage.types.forEach(function(typ, idx) {
|
heritage.types.forEach(function(typ, idx) {
|
||||||
heritageString += (idx > 0 ? ', ' : '') + typ.getFullText();
|
heritageString += (idx > 0 ? ', ' : '') + typ.getFullText();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue