mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
added missing typing to explore props
This commit is contained in:
parent
3b0a04c627
commit
bfdfb215f3
@ -21,7 +21,7 @@ import TimePicker, { parseTime } from './TimePicker';
|
|||||||
import { changeSize, changeTime, initializeExplore, modifyQueries, scanStart, setQueries } from './state/actions';
|
import { changeSize, changeTime, initializeExplore, modifyQueries, scanStart, setQueries } from './state/actions';
|
||||||
|
|
||||||
// Types
|
// Types
|
||||||
import { RawTimeRange, TimeRange, DataQuery, ExploreStartPageProps } from '@grafana/ui';
|
import { RawTimeRange, TimeRange, DataQuery, ExploreStartPageProps, ExploreDataSourceApi } from '@grafana/ui';
|
||||||
import { ExploreItemState, ExploreUrlState, RangeScanner, ExploreId } from 'app/types/explore';
|
import { ExploreItemState, ExploreUrlState, RangeScanner, ExploreId } from 'app/types/explore';
|
||||||
import { StoreState } from 'app/types';
|
import { StoreState } from 'app/types';
|
||||||
import { LAST_USED_DATASOURCE_KEY, ensureQueries, DEFAULT_RANGE, DEFAULT_UI_STATE } from 'app/core/utils/explore';
|
import { LAST_USED_DATASOURCE_KEY, ensureQueries, DEFAULT_RANGE, DEFAULT_UI_STATE } from 'app/core/utils/explore';
|
||||||
@ -34,7 +34,7 @@ interface ExploreProps {
|
|||||||
changeSize: typeof changeSize;
|
changeSize: typeof changeSize;
|
||||||
changeTime: typeof changeTime;
|
changeTime: typeof changeTime;
|
||||||
datasourceError: string;
|
datasourceError: string;
|
||||||
datasourceInstance: any;
|
datasourceInstance: ExploreDataSourceApi;
|
||||||
datasourceLoading: boolean | null;
|
datasourceLoading: boolean | null;
|
||||||
datasourceMissing: boolean;
|
datasourceMissing: boolean;
|
||||||
exploreId: ExploreId;
|
exploreId: ExploreId;
|
||||||
|
Loading…
Reference in New Issue
Block a user