Skip to content

Commit 6957076

Browse files
authored
docs: clarify packer prettify argument values (#3876)
1 parent 11c85a2 commit 6957076

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/usage/packers.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ const stream = Packer.toStream(doc);
105105

106106
The `Packer` methods support 2 optional arguments.
107107

108-
The first is for controlling the indentation of the xml and should be a `boolean` or `keyof typeof PrettifyType`.
108+
The first is for controlling the indentation of the xml and should be a `boolean` or a value from `PrettifyType`.
109109

110110
The second is an array of subfile overrides (`{path: string, data: string}[]`). These overrides can be used to write additional subfiles to the result or even override default subfiles in the case that the default handling of these subfiles does not meet your needs.
111111

0 commit comments

Comments
 (0)