Type query getter response

pull/10616/head
Alex P 2018-05-17 11:00:21 -07:00
parent cd73ef416d
commit ae437ab39b
1 changed files with 2 additions and 2 deletions

View File

@ -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<Props> {
)
}
private get queries() {
private get queries(): CellQuery[] {
const {cell} = this.props
return _.get(cell, ['queries'], [])
}