Tweak typing

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen committed 2022-07-27 09:22:41 +03:00
1 parent dcb344afcb
commit bc51b453b5
1 file changed
+3 -1
@@ -22,5 +22,7 @@ export const controlWhenStoragesAreReady = (di: DiContainer) => {
// TODO: Remove when typing is added to the library
(di as any).decorateFunction(createStorageInjectable, decorated);
return async () => void await Promise.all(storagesAreReady);
return async () => {
await Promise.all(storagesAreReady);
};
};