diff --git a/src/renderer/preload.d.ts b/src/renderer/preload.d.ts index f34a55872..35e3d18c2 100644 --- a/src/renderer/preload.d.ts +++ b/src/renderer/preload.d.ts @@ -12,10 +12,10 @@ import { DiscordRpc } from '/@/main/preload/discord-rpc'; declare global { interface Window { - SERVER_NAME: string; - SERVER_LOCK: boolean; - SERVER_TYPE: string; - SERVER_URL: string; + SERVER_LOCK?: boolean; + SERVER_NAME?: string; + SERVER_TYPE?: string; + SERVER_URL?: string; electron: { browser: any; discordRpc: DiscordRpc;