typedef: fix some bugs
This commit is contained in:
parent
38127dd4bc
commit
08e9e53943
12
gluon.d.ts
vendored
12
gluon.d.ts
vendored
@ -33,7 +33,7 @@ type V8CacheApi = {
|
||||
build(
|
||||
/** Build options. */
|
||||
options?: V8CacheBuildOptions
|
||||
),
|
||||
): Promise<void>,
|
||||
|
||||
/** Load a V8 Cache. */
|
||||
load(
|
||||
@ -81,7 +81,7 @@ type PageApi = {
|
||||
* @default false
|
||||
*/
|
||||
ignoreCache?: Boolean
|
||||
)
|
||||
): Promise<void>,
|
||||
};
|
||||
|
||||
type IPCStoreApi = {
|
||||
@ -327,7 +327,7 @@ type Window = {
|
||||
cdp: CDPApi,
|
||||
|
||||
/**
|
||||
* API for Gluon idle management (like hibernation).
|
||||
* API for Gluon idle management (like hibernation). Chromium only.
|
||||
* @experimental
|
||||
*/
|
||||
idle: IdleApi,
|
||||
@ -338,6 +338,12 @@ type Window = {
|
||||
/** Control (minimize, maximize, etc) the browser window. */
|
||||
controls: ControlsApi,
|
||||
|
||||
/**
|
||||
* Interface with V8's Compilation Cache. Chromium only.
|
||||
* @experimental
|
||||
*/
|
||||
v8Cache: V8CacheApi,
|
||||
|
||||
/** Close the Gluon window. */
|
||||
close(): void,
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user