mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Add correct typing
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
37d3e8bd7c
commit
42227d323d
@ -156,7 +156,7 @@ try {
|
||||
generateImages(checkingForUpdatesImage, size, "trayIconCheckingForUpdates"),
|
||||
];
|
||||
|
||||
let timeout;
|
||||
let timeout: NodeJS.Timeout | undefined;
|
||||
|
||||
await Promise.race([
|
||||
Promise.all(imageGenerators),
|
||||
@ -165,6 +165,8 @@ try {
|
||||
}, tenMinutes)),
|
||||
]);
|
||||
|
||||
clearTimeout(timeout);
|
||||
|
||||
console.log("Generated all images");
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user