Mark private service properties declarated in ctors as readonly

This commit is contained in:
Matt Bierner
2019-01-04 10:57:55 -08:00
parent ad040a2f89
commit 087629786a
289 changed files with 1641 additions and 1641 deletions

View File

@@ -30,7 +30,7 @@ export class ProxyAuthHandler {
private disposables: IDisposable[] = [];
constructor(
@IWindowsMainService private windowsMainService: IWindowsMainService
@IWindowsMainService private readonly windowsMainService: IWindowsMainService
) {
const onLogin = Event.fromNodeEventEmitter<LoginEvent>(app, 'login', (event, webContents, req, authInfo, cb) => ({ event, webContents, req, authInfo, cb }));
onLogin(this.onLogin, this, this.disposables);