Permalink
Browse files

CLI: Exclude JSDoc on typedefs from generated d.ts files because type…

…script@next, see #737
  • Loading branch information...
dcodeIO committed Mar 31, 2017
1 parent 2ebb1b7 commit 6f74d30f059e33a4678f28e7a50dc4878c54bed2
Showing with 3 additions and 3 deletions.
  1. +3 −3 cli/lib/tsd-jsdoc/publish.js
@@ -531,9 +531,9 @@ function handleTypeDef(element, parent) {
writeInterface(element);
}
} else {
begin(element, true);
if (element.access)
write(element.access, " ");
// see: https://github.com/dcodeIO/protobuf.js/issues/737
// begin(element, true);
writeln();
write("type ", element.name, " = ");
if (element.type && element.type.names.length === 1 && element.type.names[0] === "function")
writeFunctionSignature(element, false, true);

0 comments on commit 6f74d30

Please sign in to comment.