// It is not possible for Typescript to create the type for extendedClient
const extendedClient = (prismaClient: PrismaClient) => {
return prismaClient.$extends(PrismaExtensionRedis({ config, client }));
};
type ExtendedClientType = ReturnType<typeof extendedClient>;
// It is not possible for Typescript to create the type for extendedClient
const extendedClient = (prismaClient: PrismaClient) => {
return prismaClient.$extends(PrismaExtensionRedis({ config, client }));
};
type ExtendedClientType = ReturnType<typeof extendedClient>;