Skip to content

Commit 35156c2

Browse files
committed
Fix a TS 3.9 error
1 parent 817716c commit 35156c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/contrib/timeline/browser/timelinePane.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ export class TimelinePane extends ViewPane {
660660
let count = 0;
661661

662662
if (this.timelinesBySource.size === 1) {
663-
const [source, timeline] = Iterable.first(this.timelinesBySource);
663+
const [source, timeline] = Iterable.first(this.timelinesBySource)!;
664664

665665
timeline.lastRenderedIndex = -1;
666666

0 commit comments

Comments
 (0)