Skip to content

Commit

Permalink
fix: typescript errors
Browse files Browse the repository at this point in the history
  • Loading branch information
stacey-gammon committed Jun 18, 2019
1 parent afccf88 commit 3b40c2a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/legacy/core_plugins/kibana/migrations/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* under the License.
*/

import { SavedObjectReference } from 'src/legacy/server/saved_objects';
import { SavedObjectReference } from '../../../../legacy/server/saved_objects/routes/types';

export interface SavedObjectAttributes {
kibanaSavedObjectMeta: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ export function getSavedDashboardMock(
save: () => {
return Promise.resolve('123');
},
getQuery: () => ({ query: '', language: 'kuery' }),
getFilters: () => [],
...config,
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ import { Timefilter } from 'ui/timefilter';
import { RefreshInterval } from 'ui/timefilter/timefilter';
import { Filter } from '@kbn/es-query';
import moment from 'moment';
import { Query } from 'src/legacy/core_plugins/data/public';
import { TimeRange } from 'ui/timefilter/time_history';
import { DashboardViewMode } from './dashboard_view_mode';
import { FilterUtils } from './lib/filter_utils';
import { PanelUtils } from './panel/panel_utils';
Expand Down

0 comments on commit 3b40c2a

Please sign in to comment.