From 2a1a20ba21cde9dfad7e1f80a3f0f9c6a34a6c71 Mon Sep 17 00:00:00 2001 From: KATT Date: Sat, 30 Sep 2023 22:48:33 +0200 Subject: [PATCH] fix --- CHANGELOG.md | 7 ++----- README.md | 7 ++++--- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 893ec132..f3e283f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,8 @@ - - ## [0.3.1](https://github.com/KATT/tupleson/compare/0.3.0...0.3.1) (2023-09-30) - ### Bug Fixes -* `serializer` -> `serialize` ([#4](https://github.com/KATT/tupleson/issues/4)) ([93a45a5](https://github.com/KATT/tupleson/commit/93a45a5e32ad1ebddba6283627551830c1e621ec)) +- `serializer` -> `serialize` ([#4](https://github.com/KATT/tupleson/issues/4)) ([93a45a5](https://github.com/KATT/tupleson/commit/93a45a5e32ad1ebddba6283627551830c1e621ec)) # [0.3.0](https://github.com/KATT/tupleson/compare/0.2.0...0.3.0) (2023-09-30) @@ -24,4 +21,4 @@ ### Features - initial version ([#1](https://github.com/KATT/tupleson/issues/1)) ([ccce25b](https://github.com/KATT/tupleson/commit/ccce25b6a039cf2e5c1a774c1ab022f0946ca8d5)) -- initialized repo ✨ ([c9e92a4](https://github.com/KATT/tupleson/commit/c9e92a42c97a8bc1ee3a9214f65626425c8598e3)) \ No newline at end of file +- initialized repo ✨ ([c9e92a4](https://github.com/KATT/tupleson/commit/c9e92a42c97a8bc1ee3a9214f65626425c8598e3)) diff --git a/README.md b/README.md index 459241aa..9260718d 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,12 @@ A hackable JSON serializer/deserializer that allows you to serialize/deserialize ### Example + + ```ts +/* eslint-disable eslint-comments/disable-enable-pair */ /* eslint-disable @typescript-eslint/no-unused-vars */ +/* eslint-disable n/no-missing-import */ import { createTupleson, // Serialize BigInt @@ -87,15 +91,12 @@ console.log(result); // } // ✨ Retains type integrity - type Obj = typeof obj; // ^? // type Obj = { // readonly foo: "bar"; // readonly set: Set; // } - -/* eslint-enable @typescript-eslint/no-unused-vars */ ``` **Footnotes**: