diff --git a/docs/dgeni-package/processors/readTypeScriptModules.js b/docs/dgeni-package/processors/readTypeScriptModules.js index bedff69274..1a5b2133a2 100644 --- a/docs/dgeni-package/processors/readTypeScriptModules.js +++ b/docs/dgeni-package/processors/readTypeScriptModules.js @@ -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(); } }