typedef: rename Window.window -> page
This commit is contained in:
parent
55085ef599
commit
91944cadbf
6
gluon.d.ts
vendored
6
gluon.d.ts
vendored
@ -1,4 +1,4 @@
|
|||||||
type WindowApi = {
|
type PageApi = {
|
||||||
/**
|
/**
|
||||||
* Evaluate a string or function in the web context.
|
* Evaluate a string or function in the web context.
|
||||||
* @returns Return value of expression given.
|
* @returns Return value of expression given.
|
||||||
@ -134,8 +134,8 @@ type ControlsApi = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Window = {
|
type Window = {
|
||||||
/** API for accessing the window itself. */
|
/** API for the page of the window. */
|
||||||
window: WindowApi,
|
page: PageApi,
|
||||||
|
|
||||||
/** API for IPC. */
|
/** API for IPC. */
|
||||||
ipc: IPCApi,
|
ipc: IPCApi,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user