Skip to content

Commit

Permalink
JSON.stringify() typescript: make 2nd and 3rd arguments optional
Browse files Browse the repository at this point in the history
  • Loading branch information
bobrippling committed May 27, 2024
1 parent 52352ef commit 7607856
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jswrap_json.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ An Object that handles conversion to and from the JSON data interchange format
"generate" : "jswrap_json_stringify",
"params" : [
["data","JsVar","The data to be converted to a JSON string"],
["replacer","JsVar","This value is ignored"],
["space","JsVar","The number of spaces to use for padding, a string, or null/undefined for no whitespace "]
["replacer","JsVar","[optional] This value is ignored"],
["space","JsVar","[optional] The number of spaces to use for padding, a string, or null/undefined for no whitespace "]
],
"return" : ["JsVar","A JSON string"]
}
Expand Down

0 comments on commit 7607856

Please sign in to comment.