From 39d9eed58558be48513d860187976514d0a53549 Mon Sep 17 00:00:00 2001 From: Alan Ren Date: Thu, 3 Sep 2020 13:59:38 -0700 Subject: [PATCH] give back the getter for container property (#12110) * give back the getter for container property * parameter type --- src/sql/workbench/browser/editor/profiler/dashboardInput.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sql/workbench/browser/editor/profiler/dashboardInput.ts b/src/sql/workbench/browser/editor/profiler/dashboardInput.ts index 193196bf81..31c9a5dfc4 100644 --- a/src/sql/workbench/browser/editor/profiler/dashboardInput.ts +++ b/src/sql/workbench/browser/editor/profiler/dashboardInput.ts @@ -122,12 +122,12 @@ export class DashboardInput extends EditorInput { } } - set container(container: HTMLElement) { + set container(container: HTMLElement | undefined) { this._disposeContainer(); this._parentContainer = container; } - getContainer(): HTMLElement | undefined { + get container(): HTMLElement | undefined { return this._parentContainer; }