Skip to content

Commit

Permalink
fix preload type definition
Browse files Browse the repository at this point in the history
  • Loading branch information
kgarner7 committed Feb 24, 2024
1 parent d41a52d commit 6c0cab3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/renderer/preload.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6c0cab3

Please sign in to comment.