typedef: rename Window.window -> page

This commit is contained in:
CanadaHonk 2023-01-05 19:43:39 +00:00
parent 55085ef599
commit 91944cadbf

6
gluon.d.ts vendored
View File

@ -1,4 +1,4 @@
type WindowApi = {
type PageApi = {
/**
* Evaluate a string or function in the web context.
* @returns Return value of expression given.
@ -134,8 +134,8 @@ type ControlsApi = {
}
type Window = {
/** API for accessing the window itself. */
window: WindowApi,
/** API for the page of the window. */
page: PageApi,
/** API for IPC. */
ipc: IPCApi,