diff --git a/gluon.d.ts b/gluon.d.ts index e8cc385..9ea8fd7 100644 --- a/gluon.d.ts +++ b/gluon.d.ts @@ -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 = {