We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e62b42c + 5a6feb4 commit 6bb5237Copy full SHA for 6bb5237
cli/targets/static.js
@@ -677,7 +677,7 @@ function buildEnum(ref, enm) {
677
push("");
678
var comment = [
679
enm.comment || enm.name + " enum.",
680
- enm.parent instanceof protobuf.Root ? "@exports " + escapeName(enm.name) : undefined,
+ enm.parent instanceof protobuf.Root ? "@exports " + escapeName(enm.name) : "@memberof " + exportName(enm.parent),
681
config.forceEnumString ? "@enum {number}" : "@enum {string}",
682
];
683
Object.keys(enm.values).forEach(function(key) {
0 commit comments