Skip to content

Commit

Permalink
docs: fix typo in readme code (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjjfvi committed Jul 16, 2023
1 parent bff70f6 commit 23c0268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Readme.md
Expand Up @@ -76,7 +76,7 @@ $.assert($superhero, bob) // ShapeAssertError: !(value.superpowers instanceof Ar
const encoded = $superhero.encode(spiderMan)
// encoded: Uint8Array

const decoded = $superhero.decode(spiderMan)
const decoded = $superhero.decode(encoded)
// decoded: Superhero

console.log(decoded)
Expand Down

0 comments on commit 23c0268

Please sign in to comment.