Skip to content

Commit

Permalink
Make parentIsInterface default to false in toJsType()
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Bankhead <dan@danielbankhead.com>
  • Loading branch information
Martin Traverse and danielbankhead authored Jul 26, 2024
1 parent fda51db commit 8e0027a
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 @@ -311,7 +311,7 @@ function buildFunction(type, functionName, gen, scope) {
push("};");
}

function toJsType(field, parentIsInterface) {
function toJsType(field, parentIsInterface = false) {
var type;

// With null semantics, interfaces are composed from interfaces and messages from messages
Expand Down

0 comments on commit 8e0027a

Please sign in to comment.