Added handling for BigInt values.

This commit is contained in:
mike 2022-07-07 05:55:43 -07:00
parent 5e0c5643c6
commit a1d0235416

View File

@ -1,6 +1,10 @@
import { PrismaClient } from '@prisma/client';
import chalk from 'chalk';
BigInt.prototype.toJSON = function () {
return this.toString();
};
const options = {
log: [
{