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(