Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
drewdaemon committed Jul 12, 2023
1 parent b3ca867 commit 73ff0d4
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ import React from 'react';
import { i18n } from '@kbn/i18n';
import { isEqual } from 'lodash';
import type { Query } from '@kbn/es-query';
import type { UnifiedSearchPublicPluginStart } from '@kbn/unified-search-plugin/public';
import { QueryStringInput } from '@kbn/unified-search-plugin/public';
import type {
UnifiedSearchPublicPluginStart,
QueryStringInputComponentType,
} from '@kbn/unified-search-plugin/public';
import type { HttpStart } from '@kbn/core-http-browser';
import type { IStorageWrapper } from '@kbn/kibana-utils-plugin/public';
import type { DataViewsPublicPluginStart } from '@kbn/data-views-plugin/public';
Expand Down Expand Up @@ -42,6 +44,7 @@ export const QueryInput = ({
['data-test-subj']: dataTestSubj,
placeholder,
appName,
QueryStringInput,
services: { data, uiSettings, http, notifications, docLinks, storage, unifiedSearch, dataViews },
}: {
value: Query;
Expand All @@ -53,6 +56,7 @@ export const QueryInput = ({
'data-test-subj'?: string;
placeholder?: string;
appName: string;
QueryStringInput: QueryStringInputComponentType;
services: QueryInputServices;
}) => {
const { inputValue, handleInputChange } = useDebouncedValue({ value, onChange });
Expand Down

0 comments on commit 73ff0d4

Please sign in to comment.