Skip to content

Commit 3623179

Browse files
authored
docs(proto-loader): fix docs for options.bytes
1 parent 47ac924 commit 3623179

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/proto-loader/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The options parameter is an object that can have the following optional properti
3333
| `keepCase` | `true` or `false` | Preserve field names. The default is to change them to camel case.
3434
| `longs` | `String` or `Number` | The type to use to represent `long` values. Defaults to a `Long` object type.
3535
| `enums` | `String` | The type to use to represent `enum` values. Defaults to the numeric value.
36-
| `bytes` | `Array` or `String` | The type to use to represent `bytes` values. Defaults to `Buffer`.
36+
| `bytes` | `Array`, `String` or `Buffer` | The type to use to represent `bytes` values. Defaults to `Buffer`.
3737
| `defaults` | `true` or `false` | Set default values on output objects. Defaults to `false`.
3838
| `arrays` | `true` or `false` | Set empty arrays for missing array values even if `defaults` is `false` Defaults to `false`.
3939
| `objects` | `true` or `false` | Set empty objects for missing object values even if `defaults` is `false` Defaults to `false`.

0 commit comments

Comments
 (0)