[Visualizations] fix usage of optional dependencies (#114286)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
9fb16d54c5
commit
ade369d189
|
@ -48,8 +48,10 @@ export const [getTimeFilter, setTimeFilter] = createGetterSetter<TimefilterContr
|
|||
|
||||
export const [getSearch, setSearch] = createGetterSetter<DataPublicPluginStart['search']>('Search');
|
||||
|
||||
export const [getUsageCollector, setUsageCollector] =
|
||||
createGetterSetter<UsageCollectionSetup>('UsageCollection');
|
||||
export const [getUsageCollector, setUsageCollector] = createGetterSetter<UsageCollectionSetup>(
|
||||
'UsageCollection',
|
||||
false
|
||||
);
|
||||
|
||||
export const [getExpressions, setExpressions] = createGetterSetter<ExpressionsStart>('Expressions');
|
||||
|
||||
|
|
|
@ -13,8 +13,10 @@ import type { UsageCollectionStart } from '../../usage_collection/public';
|
|||
|
||||
export const [getUISettings, setUISettings] = createGetterSetter<IUiSettingsClient>('UISettings');
|
||||
|
||||
export const [getUsageCollector, setUsageCollector] =
|
||||
createGetterSetter<UsageCollectionStart>('UsageCollection');
|
||||
export const [getUsageCollector, setUsageCollector] = createGetterSetter<UsageCollectionStart>(
|
||||
'UsageCollection',
|
||||
false
|
||||
);
|
||||
|
||||
export const [getVisEditorsRegistry, setVisEditorsRegistry] =
|
||||
createGetterSetter<VisEditorsRegistry>('VisEditorsRegistry');
|
||||
|
|
Loading…
Reference in a new issue