Skip to content

Commit 5bd89a2

Browse files
authored
Fix typing for proxy auth window options (microsoft#91954)
1 parent 516d459 commit 5bd89a2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/vs/code/electron-main/auth.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import { localize } from 'vs/nls';
77
import { Disposable } from 'vs/base/common/lifecycle';
88
import { Event } from 'vs/base/common/event';
9-
import { BrowserWindow, app, AuthInfo, WebContents, Event as ElectronEvent } from 'electron';
9+
import { BrowserWindow, BrowserWindowConstructorOptions, app, AuthInfo, WebContents, Event as ElectronEvent } from 'electron';
1010

1111
type LoginEvent = {
1212
event: ElectronEvent;
@@ -49,7 +49,7 @@ export class ProxyAuthHandler extends Disposable {
4949

5050
event.preventDefault();
5151

52-
const opts: any = {
52+
const opts: BrowserWindowConstructorOptions = {
5353
alwaysOnTop: true,
5454
skipTaskbar: true,
5555
resizable: false,

0 commit comments

Comments
 (0)