Skip to content

Commit

Permalink
CLI: Exclude JSDoc on typedefs from generated d.ts files because type…
Browse files Browse the repository at this point in the history
…script@next, see #737
  • Loading branch information
dcodeIO committed Mar 31, 2017
1 parent 2ebb1b7 commit 6f74d30
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cli/lib/tsd-jsdoc/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6f74d30

Please sign in to comment.