NextJSNetflix/global.d.tsx

7 lines
134 B
TypeScript

import { PrismaClient } from "@prisma/client";
declare global {
namespace globalThis {
var prismadb: PrismaClient
}
}