I have a single instance prisma but it's not auto-completing any queries.
const { PrismaClient } = require("@prisma/client");
let prisma;
if (process.env.NODE_ENV === "production") {
prisma = new PrismaClient();
prisma.$connect();
} else {
if (!global.__db) {
global.__db = new PrismaClient();
global.__db.$connect();
}
prisma = global.__db;
}
module.exports = prisma;
How can I get autocomplete intellisense 🤷🏻♂️?