[Maps] Cleanup typing (#99136)
This commit is contained in:
parent
f2693edddc
commit
1c8cb285c1
4 changed files with 9 additions and 6 deletions
|
@ -6,4 +6,5 @@
|
|||
*/
|
||||
|
||||
export * from './map_embeddable';
|
||||
export * from './types';
|
||||
export * from './map_embeddable_factory';
|
||||
|
|
|
@ -78,7 +78,6 @@ import {
|
|||
MapEmbeddableInput,
|
||||
MapEmbeddableOutput,
|
||||
} from './types';
|
||||
export { MapEmbeddableInput, MapEmbeddableOutput };
|
||||
|
||||
function getIsRestore(searchSessionId?: string) {
|
||||
if (!searchSessionId) {
|
||||
|
|
|
@ -23,4 +23,6 @@ export type { RenderTooltipContentParams } from './classes/tooltips/tooltip_prop
|
|||
|
||||
export { MapsStartApi } from './api';
|
||||
|
||||
export type { MapEmbeddable, MapEmbeddableInput } from './embeddable';
|
||||
export type { MapEmbeddable, MapEmbeddableInput, MapEmbeddableOutput } from './embeddable';
|
||||
|
||||
export type { EMSTermJoinConfig, SampleValuesConfig } from './ems_autosuggest';
|
||||
|
|
|
@ -10,13 +10,14 @@ import React, { useEffect, useRef, useState } from 'react';
|
|||
import { htmlIdGenerator } from '@elastic/eui';
|
||||
import { LayerDescriptor } from '../../../../../maps/common/descriptor_types';
|
||||
import { INITIAL_LOCATION } from '../../../../../maps/common/constants';
|
||||
import {
|
||||
import type {
|
||||
MapEmbeddable,
|
||||
MapEmbeddableInput,
|
||||
MapEmbeddableOutput,
|
||||
// eslint-disable-next-line @kbn/eslint/no-restricted-paths
|
||||
} from '../../../../../maps/public/embeddable';
|
||||
import { MAP_SAVED_OBJECT_TYPE, RenderTooltipContentParams } from '../../../../../maps/public';
|
||||
RenderTooltipContentParams,
|
||||
} from '../../../../../maps/public';
|
||||
import { MAP_SAVED_OBJECT_TYPE } from '../../../../../maps/public';
|
||||
|
||||
import {
|
||||
EmbeddableFactory,
|
||||
ErrorEmbeddable,
|
||||
|
|
Loading…
Reference in a new issue