ipc: add setter to IPCApi

This commit is contained in:
CanadaHonk 2023-01-08 20:27:24 +00:00
parent 04c77e8085
commit 3cf6f1695a

6
gluon.d.ts vendored
View File

@ -95,6 +95,12 @@ type IPCApi = {
/** IPC Store API. */
store: IPCStoreApi,
/**
* Expose a Node function to the web context, acts as a wrapper around IPC events.
* Can be ran in window with Gluon.ipc[key](...args)
*/
[key: string]: any,
};
type CDPApi = {