Skip to content

Commit

Permalink
annotating classes with @implements
Browse files Browse the repository at this point in the history
  • Loading branch information
Cixelyn committed Jul 27, 2017
1 parent 952c7d1 commit 27cc66a
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 27cc66a

Please sign in to comment.