Fix bad type import from interpreter. (#37741) (#38054)

This commit is contained in:
Luke Elmers 2019-06-04 19:42:23 -06:00 committed by GitHub
parent dcc4df846d
commit d237403ba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -31,6 +31,7 @@ export class PipelineDataLoader {
{},
{
getInitialContext: () => ({
type: 'kibana_context',
query: params.query,
timeRange: params.timeRange,
filters: params.filters

View file

@ -21,10 +21,9 @@
import { fromExpression } from '@kbn/interpreter/common';
// @ts-ignore
import { getInterpreter } from 'plugins/interpreter/interpreter';
// @ts-ignore
import { KibanaContext } from 'plugins/interpreter/types';
import { Adapters } from 'ui/inspector';
import { KibanaContext } from '../../../../../core_plugins/interpreter/public';
type getInitialContextFunction = () => KibanaContext;