diff --git a/gluon.d.ts b/gluon.d.ts index 77905a1..398ebd4 100644 --- a/gluon.d.ts +++ b/gluon.d.ts @@ -6,7 +6,10 @@ type PageApi = { eval: ( /** String or function to evaluate. */ expression: string|Function - ) => Promise + ) => Promise, + + /** Promise for waiting until the page has loaded. */ + loaded: Promise }; type IPCApi = {