diff --git a/gluon.d.ts b/gluon.d.ts index c59da16..a5dbfd6 100644 --- a/gluon.d.ts +++ b/gluon.d.ts @@ -20,7 +20,7 @@ type IPCApi = { /** Data of event to send. */ data: any - ): Promise, + ): Promise, /** * Subscribe to IPC events of a specific type with a callback. @@ -48,7 +48,7 @@ type CDPApi = { method: string, /** Parameters of CDP command. */ - params: Object? + params?: Object ): Promise }; @@ -65,7 +65,7 @@ type Browser = 'chrome'|'chrome_canary'|'chromium'|'edge'|'firefox'|'firefox_nig /** Additional options for opening */ type OpenOptions = { /** Function to evaluate in the web context once loaded. */ - onLoad?: function, + onLoad?: Function, /** Force Gluon to use a browser instead of automatically finding. */ forceBrowser?: Browser,