Skip to content

Commit 4b34ef9

Browse files
chore(doc-gen): remove unused signature
1 parent 8c409e9 commit 4b34ef9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

docs/dgeni-package/processors/readTypeScriptModules.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ module.exports = function readTypeScriptModules(tsParser, readFilesProcessor, mo
162162
'" in ' + sourceFile.fileName +
163163
' at line ' + location.start.line);
164164
}
165-
var signature = typeChecker.getSignatureFromDeclaration(declaration);
166165
return declaration.parameters.map(function(parameter) {
167166
return getText(sourceFile, parameter).trim();
168167
});
@@ -172,7 +171,6 @@ module.exports = function readTypeScriptModules(tsParser, readFilesProcessor, mo
172171
var declaration = symbol.valueDeclaration || symbol.declarations[0];
173172
var sourceFile = ts.getSourceFileOfNode(declaration);
174173
if(declaration.type) {
175-
var signature = typeChecker.getSignatureFromDeclaration(declaration);
176174
return getText(sourceFile, declaration.type).trim();
177175
}
178176
}

0 commit comments

Comments
 (0)