chore(doc-gen): formatting
This commit is contained in:
parent
4b34ef9036
commit
33f5aafd6c
|
@ -170,7 +170,7 @@ module.exports = function readTypeScriptModules(tsParser, readFilesProcessor, mo
|
|||
function getReturnType(typeChecker, symbol) {
|
||||
var declaration = symbol.valueDeclaration || symbol.declarations[0];
|
||||
var sourceFile = ts.getSourceFileOfNode(declaration);
|
||||
if(declaration.type) {
|
||||
if (declaration.type) {
|
||||
return getText(sourceFile, declaration.type).trim();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue