Skip to main content

Type Alias: MainAppStateWindowLike

type MainAppStateWindowLike = {
isDestroyed?: () => boolean;
webContents?: {
isDestroyed?: () => boolean;
send?: (channel: RendererIpcEventChannel, ...args: unknown[]) => void;
};
};

Defined in: main/state/appState.ts:12

Properties​

isDestroyed?​

optional isDestroyed?: () => boolean;

Defined in: main/state/appState.ts:13

Returns​

boolean


webContents?​

optional webContents?: {
isDestroyed?: () => boolean;
send?: (channel: RendererIpcEventChannel, ...args: unknown[]) => void;
};

Defined in: main/state/appState.ts:14

isDestroyed?​

optional isDestroyed?: () => boolean;
Returns​

boolean

send?​

optional send?: (channel: RendererIpcEventChannel, ...args: unknown[]) => void;
Parameters​
channel​

RendererIpcEventChannel

args​

...unknown[]

Returns​

void