We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
globalThis.
global.
1 parent 9a6b9c7 commit ee2a97bCopy full SHA for ee2a97b
src/server/prisma.ts
@@ -5,7 +5,7 @@
5
import { env } from './env';
6
import { PrismaClient } from '@prisma/client';
7
8
-const prismaGlobal = global as typeof global & {
+const prismaGlobal = globalThis as typeof globalThis & {
9
prisma?: PrismaClient;
10
};
11
0 commit comments