Skip to content

Commit

Permalink
virtual oneofs annotated as string literal unions
Browse files Browse the repository at this point in the history
  • Loading branch information
Cixelyn committed Jul 27, 2017
1 parent 952c7d1 commit 05e7e06
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 @@ -435,7 +435,7 @@ function buildType(ref, type) {
push("");
pushComment([
oneof.comment || type.name + " " + oneof.name + ".",
"@member {string|undefined} " + escapeName(oneof.name),
"@member {" + oneof.oneof.map(JSON.stringify).join("|") + "|undefined} " + escapeName(oneof.name),
"@memberof " + exportName(type),
"@instance"
]);
Expand Down

0 comments on commit 05e7e06

Please sign in to comment.