typedef: add PageApi.loaded

This commit is contained in:
CanadaHonk 2023-01-05 20:09:57 +00:00
parent 91944cadbf
commit dd410076a7

5
gluon.d.ts vendored
View File

@ -6,7 +6,10 @@ type PageApi = {
eval: (
/** String or function to evaluate. */
expression: string|Function
) => Promise<any>
) => Promise<any>,
/** Promise for waiting until the page has loaded. */
loaded: Promise<void>
};
type IPCApi = {