mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-11 06:42:38 +02:00
rename preload types file
This commit is contained in:
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user