初始化

This commit is contained in:
杨国锋
2026-02-02 09:45:02 +08:00
parent cf06443441
commit e0181cc7ac
40 changed files with 8771 additions and 0 deletions

12
frontend/src/global.d.ts vendored Normal file
View File

@@ -0,0 +1,12 @@
export {};
declare global {
interface Window {
ipcRenderer: {
send: (channel: string, ...args: any[]) => void;
on: (channel: string, listener: (event: any, ...args: any[]) => void) => void;
off: (channel: string, listener: (event: any, ...args: any[]) => void) => void;
invoke: (channel: string, ...args: any[]) => Promise<any>;
};
}
}