From 33f5aafd6cef6e86694ff5664ddacd22e47552f7 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Sun, 17 May 2015 22:01:03 +0100 Subject: [PATCH] chore(doc-gen): formatting --- docs/dgeni-package/processors/readTypeScriptModules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } }