diff --git a/helpers.go b/helpers.go index d11c967..038f3ee 100644 --- a/helpers.go +++ b/helpers.go @@ -165,6 +165,8 @@ func jsType(f *descriptor.FieldDescriptorProto) string { return fmt.Sprintf(template, "number") case descriptor.FieldDescriptorProto_TYPE_BOOL: return fmt.Sprintf(template, "boolean") + case descriptor.FieldDescriptorProto_TYPE_BYTES: + return fmt.Sprintf(template, "Array") case descriptor.FieldDescriptorProto_TYPE_STRING: return fmt.Sprintf(template, "string") case descriptor.FieldDescriptorProto_TYPE_ENUM: