Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
cool
Browse files Browse the repository at this point in the history
  • Loading branch information
KATT committed Sep 30, 2023
1 parent 3d7f6b4 commit 464d9de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ import {
tsonUnknownObjectGuard,
} from "tupleson";

const json = createTson({
const tson = createTson({
// This nonce function is used to generate a nonce for the serialized value
// This is used to identify the value as a serialized value
nonce: () => "__tson",
Expand All @@ -63,7 +63,7 @@ const json = createTson({
],
});

const result = json.stringify(
const result = tson.stringify(
{
foo: "bar",
set: new Set([1, 2, 3]),
Expand Down

0 comments on commit 464d9de

Please sign in to comment.