Skip to content

Commit 65ca26a

Browse files
committed
use webworker lib
1 parent cbe50c9 commit 65ca26a

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

src/tsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"lib": [
1010
"dom",
1111
"es5",
12-
"es2015.iterable"
12+
"es2015.iterable",
13+
"webworker"
1314
]
1415
},
1516
"include": [
@@ -19,4 +20,4 @@
1920
"exclude": [
2021
"./typings/require-monaco.d.ts"
2122
]
22-
}
23+
}

src/vs/code/electron-browser/issue/issueReporterMain.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ export class IssueReporter extends Disposable {
346346
const showInfoElements = document.getElementsByClassName('showInfo');
347347
for (let i = 0; i < showInfoElements.length; i++) {
348348
const showInfo = showInfoElements.item(i);
349-
showInfo!.addEventListener('click', (e) => {
349+
showInfo!.addEventListener('click', (e: MouseEvent) => {
350350
e.preventDefault();
351351
const label = (<HTMLDivElement>e.target);
352352
if (label) {

src/vs/workbench/contrib/welcome/walkThrough/browser/walkThroughPart.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export class WalkThroughPart extends BaseEditor {
129129
this.disposables.add(this.addEventListener(this.content, 'blur', e => {
130130
this.editorFocus.reset();
131131
}));
132-
this.disposables.add(this.addEventListener(this.content, 'focusin', e => {
132+
this.disposables.add(this.addEventListener(this.content, 'focusin', (e: FocusEvent) => {
133133
// Work around scrolling as side-effect of setting focus on the offscreen zone widget (#18929)
134134
if (e.target instanceof HTMLElement && e.target.classList.contains('zone-widget-container')) {
135135
const scrollPosition = this.scrollbar.getScrollPosition();

0 commit comments

Comments
 (0)