From e8769d046d369e73cdf62d7090a730ffb43fa9f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Valverd=C3=A9?= Date: Tue, 20 Aug 2024 19:54:33 +0200 Subject: [PATCH] Fix --- src/Schema/encodedAsPrismaJsonValue.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Schema/encodedAsPrismaJsonValue.ts b/src/Schema/encodedAsPrismaJsonValue.ts index 55d7cdc..9389bec 100644 --- a/src/Schema/encodedAsPrismaJsonValue.ts +++ b/src/Schema/encodedAsPrismaJsonValue.ts @@ -4,7 +4,7 @@ import type { PrismaJson } from "../Types" /** - * Takes a schema of which the encoded value satisfies type-fest `JsonValue` and returns the same schema with Prisma's `JsonValue` as its encoded type instead. + * Takes a schema of which the encoded value satisfies type-fest's `JsonValue` and returns the same schema with Prisma's `JsonValue` as its encoded type instead. * This allows you use to use jsonifiable schemas to strongly type `Json` database fields in Prisma. * * This is needed because Prisma's `JsonValue` is poorly implemented and does not work well with some types, such as readonly arrays.