From 50d60b27a86c2b1e4367b47fa1ec8ac31b6775b9 Mon Sep 17 00:00:00 2001 From: CanadaHonk Date: Tue, 3 Jan 2023 18:20:56 +0000 Subject: [PATCH] typedef: change some voids to Promises --- gluon.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gluon.d.ts b/gluon.d.ts index 2649cb4..4f4ef2a 100644 --- a/gluon.d.ts +++ b/gluon.d.ts @@ -65,15 +65,15 @@ type IdleAutoOptions = { type IdleApi = { /** Put the window into hibernation. */ - hibernate(): void, + hibernate(): Promise, /** * Put the window to sleep. */ - sleep(): void, + sleep(): Promise, /** Wake up the window from hibernation or sleep. */ - wake(): void, + wake(): Promise, /** Enable/disable automatic idle management, and set its options. */ auto(