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:
parent
dcb344afcb
commit
bc51b453b5
@ -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);
|
||||
};
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user