diff --git a/ui-charts/src/spaceTimeChart/lib/types.ts b/ui-charts/src/spaceTimeChart/lib/types.ts index d12c8028..35706ddf 100644 --- a/ui-charts/src/spaceTimeChart/lib/types.ts +++ b/ui-charts/src/spaceTimeChart/lib/types.ts @@ -101,10 +101,7 @@ export const LAYERS = ['background', 'graduations', 'paths', 'overlay', 'caption export type LayerType = (typeof LAYERS)[number]; // PICKING SPECIFIC TYPES: -export type PickingElement = - | { type: 'point' } - | { type: 'segment' } - | { type: 'conflict' }; +export type PickingElement = { type: string }; export type HoveredItem = { layer: PickingLayerType; element: PickingElement }; export type DrawingFunction = (