diff --git a/src/vs/workbench/browser/part.ts b/src/vs/workbench/browser/part.ts index 168076b9a6970..b9e07cb213a9c 100644 --- a/src/vs/workbench/browser/part.ts +++ b/src/vs/workbench/browser/part.ts @@ -192,9 +192,9 @@ export abstract class MultiWindowParts extends Dispo protected readonly _parts = new Set(); get parts() { return Array.from(this._parts); } - protected abstract mainPart: T; + abstract readonly mainPart: T; - protected registerPart(part: T): IDisposable { + registerPart(part: T): IDisposable { this._parts.add(part); return this._register(toDisposable(() => this.unregisterPart(part)));