Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato committed May 11, 2022
1 parent c3c1fc7 commit 6c69e17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/web/00_infra.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,12 +299,12 @@
* @param {unknown} value
* @returns {string}
*/
function serializeJSValueToJSONString(value) {
function serializeJSValueToJSONString(value) {
const result = JSONStringify(value);
if (result === undefined) {
throw new TypeError("Value is not JSON serializable.");
}
return result
return result;
}

window.__bootstrap.infra = {
Expand Down

0 comments on commit 6c69e17

Please sign in to comment.