From 23c02687fd04b03a41c35fc436ca2f6729c9ee89 Mon Sep 17 00:00:00 2001 From: T6 Date: Sun, 16 Jul 2023 09:39:53 -0400 Subject: [PATCH] docs: fix typo in readme code (#172) --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index c74413e..964262c 100644 --- a/Readme.md +++ b/Readme.md @@ -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)