14 lines
297 B
TypeScript
14 lines
297 B
TypeScript
|
/// <reference types="next" />
|
||
|
/// <reference types="next/types/global" />
|
||
|
|
||
|
import type { PrismaClient } from '@prisma/client';
|
||
|
import type { Config } from './src/lib/types';
|
||
|
|
||
|
declare global {
|
||
|
namespace NodeJS {
|
||
|
interface Global {
|
||
|
prisma: PrismaClient;
|
||
|
config: Config
|
||
|
}
|
||
|
}
|
||
|
}
|