diff --git a/src/sql/workbench/browser/editor/tableDesigner/tableDesignerInput.ts b/src/sql/workbench/browser/editor/tableDesigner/tableDesignerInput.ts index 42d7a1348e..59d1d1d1c1 100644 --- a/src/sql/workbench/browser/editor/tableDesigner/tableDesignerInput.ts +++ b/src/sql/workbench/browser/editor/tableDesigner/tableDesignerInput.ts @@ -39,7 +39,7 @@ export class TableDesignerInput extends EditorInput { private _provider: TableDesignerProvider, tableInfo: azdata.designers.TableInfo, telemetryInfo: { [key: string]: string }, - objectExplorerContext: azdata.ObjectExplorerContext, + objectExplorerContext: azdata.ObjectExplorerContext | undefined, @IInstantiationService private readonly _instantiationService: IInstantiationService, @INotificationService private readonly _notificationService: INotificationService) { super(); diff --git a/src/sql/workbench/services/tableDesigner/browser/tableDesignerComponentInput.ts b/src/sql/workbench/services/tableDesigner/browser/tableDesignerComponentInput.ts index f336504a37..1f2c9778ca 100644 --- a/src/sql/workbench/services/tableDesigner/browser/tableDesignerComponentInput.ts +++ b/src/sql/workbench/services/tableDesigner/browser/tableDesignerComponentInput.ts @@ -56,7 +56,7 @@ export class TableDesignerComponentInput implements DesignerComponentInput { constructor(private readonly _provider: TableDesignerProvider, public tableInfo: azdata.designers.TableInfo, private _telemetryInfo: ITelemetryEventProperties, - private _objectExplorerContext: azdata.ObjectExplorerContext, + private _objectExplorerContext: azdata.ObjectExplorerContext | undefined, @INotificationService private readonly _notificationService: INotificationService, @IAdsTelemetryService readonly _adsTelemetryService: IAdsTelemetryService, @IQueryEditorService private readonly _queryEditorService: IQueryEditorService,