From e6d9a524b4f974f37a7001a776d1d4e408f8b6b0 Mon Sep 17 00:00:00 2001 From: Ryan McKinley Date: Thu, 28 Mar 2019 12:59:59 -0700 Subject: [PATCH] Fix: Correct SnapshotData typing (#16279) --- public/app/features/dashboard/state/PanelModel.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/app/features/dashboard/state/PanelModel.ts b/public/app/features/dashboard/state/PanelModel.ts index 1d9343c1651..cf713d85ff5 100644 --- a/public/app/features/dashboard/state/PanelModel.ts +++ b/public/app/features/dashboard/state/PanelModel.ts @@ -6,7 +6,7 @@ import { Emitter } from 'app/core/utils/emitter'; import { getNextRefIdChar } from 'app/core/utils/query'; // Types -import { DataQuery, TimeSeries, Threshold, ScopedVars, TableData } from '@grafana/ui'; +import { DataQuery, Threshold, ScopedVars, DataQueryResponseData } from '@grafana/ui'; import { PanelPlugin } from 'app/types'; import config from 'app/core/config'; @@ -92,7 +92,7 @@ export class PanelModel { thresholds?: any; pluginVersion?: string; - snapshotData?: TimeSeries[] | [TableData]; + snapshotData?: DataQueryResponseData[]; timeFrom?: any; timeShift?: any; hideTimeOverride?: any;