Skip to content

Commit

Permalink
Fixed: Made sure enum typings become generated (#884)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodeIO authored Nov 24, 2017
2 parents e62b42c + 5a6feb4 commit 6bb5237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/targets/static.js
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ function buildEnum(ref, enm) {
push("");
var comment = [
enm.comment || enm.name + " enum.",
enm.parent instanceof protobuf.Root ? "@exports " + escapeName(enm.name) : undefined,
enm.parent instanceof protobuf.Root ? "@exports " + escapeName(enm.name) : "@memberof " + exportName(enm.parent),
config.forceEnumString ? "@enum {number}" : "@enum {string}",
];
Object.keys(enm.values).forEach(function(key) {
Expand Down

0 comments on commit 6bb5237

Please sign in to comment.