Skip to content

Commit 0b8d4cc

Browse files
committed
Clarify types (help TS compiler)
1 parent df8bba1 commit 0b8d4cc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/vs/workbench/parts/performance/electron-browser/startupTimings.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@ class StartupTimings implements IWorkbenchContribution {
7575
return;
7676
}
7777

78-
const waitWhenNoCachedData = () => {
78+
const waitWhenNoCachedData: () => Promise<void> = () => {
7979
// wait 15s for cached data to be produced
8080
return !didUseCachedData()
8181
? timeout(15000)
82-
: Promise.resolve();
82+
: Promise.resolve<void>();
8383
};
8484

8585
Promise.all([

0 commit comments

Comments
 (0)