mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
16 lines
374 B
TypeScript
16 lines
374 B
TypeScript
import { ElectronAPI } from '@electron-toolkit/preload';
|
|
|
|
import { PreloadApi } from './index';
|
|
|
|
declare global {
|
|
interface Window {
|
|
api: PreloadApi;
|
|
electron: ElectronAPI;
|
|
queryLocalFonts?: () => Promise<Font[]>;
|
|
SERVER_LOCK?: boolean;
|
|
SERVER_NAME?: string;
|
|
SERVER_TYPE?: ServerType;
|
|
SERVER_URL?: string;
|
|
}
|
|
}
|