From 5c28dc390dbba280f489b029f9b7e6a77b9e950c Mon Sep 17 00:00:00 2001 From: KATT Date: Sat, 30 Sep 2023 22:04:33 +0200 Subject: [PATCH] fix: serialize --- src/tson.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tson.ts b/src/tson.ts index 158f8812..421cd69b 100644 --- a/src/tson.ts +++ b/src/tson.ts @@ -189,6 +189,6 @@ function mapOrReturn( export const createTupleson = (opts: TsonOptions) => ({ deserialize: tsonDeserializer(opts), parse: tsonParser(opts), - serializer: tsonSerializer(opts), + serialize: tsonSerializer(opts), stringify: tsonStringifier(opts), });