typedef: add missing windowSize

This commit is contained in:
Oj 2023-02-02 16:13:29 +00:00
parent 6207163713
commit 7b10f38131

3
gluon.d.ts vendored
View File

@ -507,6 +507,9 @@ type OpenOptions = {
/** Force Gluon to use a specific browser engine instead of automatically finding a browser itself. */
forceEngine?: BrowserEngine,
/** Size of Gluon window in [width, height]. */
windowSize?: [number, number],
/**
* Opt-in to allowing HTTP. Not recommended to use, always keep `false` where possible. Primarily to support custom localhost servers.
* Options: