From e317e7dbbb8e8a309d29ca2125a0044017502012 Mon Sep 17 00:00:00 2001 From: moklick Date: Tue, 14 Mar 2023 23:51:50 +0100 Subject: [PATCH] chore(svelte): cleanup handle types --- packages/svelte/src/lib/types/general.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/svelte/src/lib/types/general.ts b/packages/svelte/src/lib/types/general.ts index 09530b3a..65848b86 100644 --- a/packages/svelte/src/lib/types/general.ts +++ b/packages/svelte/src/lib/types/general.ts @@ -2,8 +2,8 @@ import type { ShortcutModifierDefinition } from '@svelte-put/shortcut'; import type { Connection, FitViewOptionsBase, - HandleProps, HandleType, + Position, XYPosition } from '@reactflow/system'; @@ -21,7 +21,10 @@ export type ConnectionData = { status: string | null; }; -export type HandleComponentProps = Omit & { +export type HandleComponentProps = { + type: HandleType; + position: Position; + id?: string; class?: string; style?: string; };