Skip to content

Commit 9fa4f70

Browse files
committed
doc: fix bigint documentation issue
Strings are generated, not numbers.
1 parent 66517e7 commit 9fa4f70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ stringify(circular, ['a', 'b'], 2)
4444

4545
## stringify.configure(options)
4646

47-
* `bigint` {boolean} If `true`, bigint values are converted to a number.
47+
* `bigint` {boolean} If `true`, bigint values are converted to a string.
4848
Otherwise they are ignored. **Default:** `true`.
4949
* `circularValue` {string|null|undefined|ErrorConstructor} Defines the value for
5050
circular references. Set to `undefined`, circular properties are not

0 commit comments

Comments
 (0)