From ae437ab39b4804e8c1a5075e6f00a38d1bead01c Mon Sep 17 00:00:00 2001 From: Alex P Date: Thu, 17 May 2018 11:00:21 -0700 Subject: [PATCH] Type query getter response --- ui/src/shared/components/LayoutCell.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/shared/components/LayoutCell.tsx b/ui/src/shared/components/LayoutCell.tsx index 1fdb122245..b4fda7c0d3 100644 --- a/ui/src/shared/components/LayoutCell.tsx +++ b/ui/src/shared/components/LayoutCell.tsx @@ -11,7 +11,7 @@ import download from 'src/external/download.js' import {ErrorHandling} from 'src/shared/decorators/errors' import {dataToCSV} from 'src/shared/parsing/dataToCSV' import {timeSeriesToTableGraph} from 'src/utils/timeSeriesTransformers' -import {Cell} from 'src/types/dashboard' +import {Cell, CellQuery} from 'src/types/dashboard' interface Series { columns: string[] @@ -68,7 +68,7 @@ export default class LayoutCell extends Component { ) } - private get queries() { + private get queries(): CellQuery[] { const {cell} = this.props return _.get(cell, ['queries'], []) }