fix(window-state): propagate promise (#435)

closes #432
This commit is contained in:
Amr Bashir
2023-06-13 15:47:55 +03:00
committed by GitHub
parent 6ad221ed36
commit 617cf38069
2 changed files with 14 additions and 6 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"window-state-js": "patch"
---
Correctly propagate the promise inside `saveWindowState`, `restoreState` and `restoreStateCurrent` so callers can choose to `await` them.