1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Tweak typing

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen 2022-07-26 13:24:40 +03:00
parent dcb344afcb
commit bc51b453b5
No known key found for this signature in database
GPG Key ID: 8C6CFB2FFFE8F68A

View File

@ -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);
};
};