Skip to content

Commit 439db6e

Browse files
author
Dmitry Dutikov
committed
stringify method arguments changed
1 parent a46bc86 commit 439db6e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

index.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,12 @@ export class JSON22 {
554554

555555
}
556556

557-
static stringify(value) {
557+
/**
558+
* @param {any} value
559+
* @param {{}} [options]
560+
* @return {string}
561+
* */
562+
static stringify(value, options) {
558563
const vStack = new JSON22.#Stack([value], true);
559564
const result = [];
560565
while (!vStack.empty) {

0 commit comments

Comments
 (0)