From d857ddb54bc86a480b319442e329918348676cd9 Mon Sep 17 00:00:00 2001 From: Charles Gagnon Date: Mon, 12 Jun 2023 10:51:42 -0700 Subject: [PATCH] Fix table designer parameter typings (#23375) --- .../browser/editor/tableDesigner/tableDesignerInput.ts | 2 +- .../tableDesigner/browser/tableDesignerComponentInput.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,