From 9348178b0fd9719cb310c400318eab6c38b3ed46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Valverd=C3=A9?= Date: Sun, 25 Aug 2024 02:18:07 +0200 Subject: [PATCH] toJsonifiable --- src/Schema/toJsonifiable.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Schema/toJsonifiable.ts b/src/Schema/toJsonifiable.ts index 0112b3e..c7b0a4f 100644 --- a/src/Schema/toJsonifiable.ts +++ b/src/Schema/toJsonifiable.ts @@ -10,4 +10,4 @@ export const toJsonifiable = < jsonifiableSchema: Schema.Schema ) => (decodedSchema: Schema.Schema) => - Schema.compose(jsonifiableSchema, decodedSchema) + Schema.compose(jsonifiableSchema, decodedSchema, { strict: true })