Skip to content

Commit 8e0027a

Browse files
Martin Traversedanielbankhead
andauthored
Make parentIsInterface default to false in toJsType()
Co-authored-by: Daniel Bankhead <[email protected]>
1 parent fda51db commit 8e0027a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/targets/static.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ function buildFunction(type, functionName, gen, scope) {
311311
push("};");
312312
}
313313

314-
function toJsType(field, parentIsInterface) {
314+
function toJsType(field, parentIsInterface = false) {
315315
var type;
316316

317317
// With null semantics, interfaces are composed from interfaces and messages from messages

0 commit comments

Comments
 (0)