Files
feishin/src/global.d.ts
T
2022-10-06 21:17:40 -07:00

16 lines
227 B
TypeScript

import { Prisma } from '@prisma/client';
type ApiSurface = {
prisma: {
server: {
getServer: () => Promise<Prisma.ServerSelect>;
};
};
};
declare global {
interface Window {
electron: ApiSurface;
}
}