Skip to content

Commit

Permalink
CLI: Annotate class definitions with @implements (protocolbuffers#881)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodeIO authored Nov 24, 2017
2 parents 6bb5237 + 27cc66a commit 367d5da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/targets/static.js
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ function buildType(ref, type) {
"Constructs a new " + type.name + ".",
type.parent instanceof protobuf.Root ? "@exports " + escapeName(type.name) : "@memberof " + exportName(type.parent),
"@classdesc " + (type.comment || "Represents " + aOrAn(type.name) + "."),
config.comments ? "@implements " + escapeName("I" + type.name) : null,
"@constructor",
"@param {" + exportName(type, true) + "=} [" + (config.beautify ? "properties" : "p") + "] Properties to set"
]);
Expand Down

0 comments on commit 367d5da

Please sign in to comment.