Fix: Correct SnapshotData typing (#16279)

This commit is contained in:
Ryan McKinley 2019-03-28 12:59:59 -07:00 committed by Torkel Ödegaard
parent 03951c00cb
commit e6d9a524b4

View File

@ -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;