Skip to content

Commit

Permalink
Format.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenh committed Oct 24, 2020
1 parent 195e8b3 commit adfa489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ function generateBaseInstance(typeMap: TypeMap, fullName: string, messageDesc: D
let baseMessage = PropertySpec.create('base' + fullName, TypeNames.anyType('object')).addModifiers(Modifier.CONST);
let initialValue = CodeBlock.empty().beginHash();
messageDesc.field
.filter(field => !isWithinOneOf(field))
.filter((field) => !isWithinOneOf(field))
.forEach((field) => {
let val = defaultValue(typeMap, field, options);
if (val === 'undefined' || isBytes(field)) {
Expand Down

0 comments on commit adfa489

Please sign in to comment.