From 27cc66a539251216ef10aea04652d58113949df9 Mon Sep 17 00:00:00 2001 From: Cory Li Date: Wed, 26 Jul 2017 22:11:35 -0700 Subject: [PATCH] annotating classes with @implements --- cli/targets/static.js | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/targets/static.js b/cli/targets/static.js index fd62421bc..1c06cf1bd 100644 --- a/cli/targets/static.js +++ b/cli/targets/static.js @@ -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" ]);