We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 952c7d1 commit 5a6feb4Copy full SHA for 5a6feb4
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