From 7b10f381314c2a8674b1ab69b80ac6a1a2955923 Mon Sep 17 00:00:00 2001 From: Oj Date: Thu, 2 Feb 2023 16:13:29 +0000 Subject: [PATCH] typedef: add missing windowSize --- gluon.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gluon.d.ts b/gluon.d.ts index aae44ce..b97fff9 100644 --- a/gluon.d.ts +++ b/gluon.d.ts @@ -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: