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

View File

@@ -34,7 +34,7 @@ export interface BatchStartSummary {
export interface BatchSummary extends BatchStartSummary {
hasError: boolean;
resultSetSummaries: ResultSetSummary[];
resultSetSummaries: ResultSetSummary[] | null;
}
export interface CompleteBatchSummary extends BatchSummary {