From 1dba7239921f0d4addcbf7a5f91983152ba7eaa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Galeran?= Date: Sat, 17 Feb 2024 14:14:20 +0100 Subject: [PATCH] fix(externalToInternalDMMF.ts): import `.js` (#985) * fix(externalToInternalDMMF.ts): import `.js` Related to https://github.com/prisma/prisma/issues/22927 * Update src/lib/prisma-utils/externalToInternalDMMF.ts --------- Co-authored-by: Rostislav Simonik --- src/lib/prisma-utils/externalToInternalDMMF.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/prisma-utils/externalToInternalDMMF.ts b/src/lib/prisma-utils/externalToInternalDMMF.ts index 6737d18e1..207e39669 100644 --- a/src/lib/prisma-utils/externalToInternalDMMF.ts +++ b/src/lib/prisma-utils/externalToInternalDMMF.ts @@ -1,5 +1,5 @@ // @ts-expect-error Private api -import * as PrismaClientGenerator from '@prisma/client/generator-build' +import * as PrismaClientGenerator from '@prisma/client/generator-build/index.js' import { DMMF, DMMF as ExternalDMMF } from '@prisma/generator-helper' // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access