diff --git a/packages/editor-ui/src/__tests__/data/canvas.ts b/packages/editor-ui/src/__tests__/data/canvas.ts index 4c2c6e7c50208..6455c6dec5b98 100644 --- a/packages/editor-ui/src/__tests__/data/canvas.ts +++ b/packages/editor-ui/src/__tests__/data/canvas.ts @@ -9,7 +9,8 @@ import type { } from '@/types'; import { CanvasConnectionMode, CanvasNodeRenderType } from '@/types'; import { NodeConnectionType } from 'n8n-workflow'; -import { createEventBus, EventBus } from 'n8n-design-system'; +import type { EventBus } from 'n8n-design-system'; +import { createEventBus } from 'n8n-design-system'; export function createCanvasNodeData({ id = 'node', diff --git a/packages/editor-ui/src/types/canvas.ts b/packages/editor-ui/src/types/canvas.ts index a6e7a86b6ede2..c11c700f9be6c 100644 --- a/packages/editor-ui/src/types/canvas.ts +++ b/packages/editor-ui/src/types/canvas.ts @@ -9,7 +9,7 @@ import type { DefaultEdge, Node, NodeProps, Position } from '@vue-flow/core'; import type { IExecutionResponse, INodeUi } from '@/Interface'; import type { Ref } from 'vue'; import type { PartialBy } from '@/utils/typeHelpers'; -import { EventBus } from 'n8n-design-system'; +import type { EventBus } from 'n8n-design-system'; export type CanvasConnectionPortType = NodeConnectionType;