add null check for errors in the console while using query editor (#15711)

* add null check

* another null check

* pr comments

* update typing
This commit is contained in:
Alan Ren
2021-06-15 16:05:38 -07:00
committed by GitHub
parent a8f3d97f59
commit 5bd1552a59
4 changed files with 7 additions and 6 deletions

2
src/sql/azdata.d.ts vendored
View File

@@ -948,7 +948,7 @@ declare module 'azdata' {
hasError: boolean;
id: number;
selection: ISelectionData;
resultSetSummaries: ResultSetSummary[];
resultSetSummaries: ResultSetSummary[] | null;
executionElapsed: string;
executionEnd: string;
executionStart: string;