typedef: add Window.close()

This commit is contained in:
CanadaHonk 2022-12-30 22:24:16 +00:00
parent 27863dcea8
commit 2c6baba400

5
gluon.d.ts vendored
View File

@ -97,7 +97,10 @@ type Window = {
* API for Gluon idle management (like hibernation).
* @experimental
*/
idle: IdleApi
idle: IdleApi,
/** Close the Gluon window. */
close(): void
};