Fix eslint

This commit is contained in:
KMKoushik
2024-04-22 12:46:53 +10:00
parent ae249df47d
commit 493e9fb63a
40 changed files with 72 additions and 133 deletions

View File

@@ -8,6 +8,7 @@ const createPrismaClient = () =>
env.NODE_ENV === "development" ? ["query", "error", "warn"] : ["error"],
});
// eslint-disable-next-line no-undef
const globalForPrisma = globalThis as unknown as {
prisma: ReturnType<typeof createPrismaClient> | undefined;
};