From f0bcec449c8f7fdab60e5ed287d8086e2584a4cb Mon Sep 17 00:00:00 2001 From: moklick Date: Thu, 12 Jun 2025 10:47:42 +0200 Subject: [PATCH] chore(types): add exports --- packages/react/src/index.ts | 3 +++ packages/svelte/src/lib/index.ts | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/react/src/index.ts b/packages/react/src/index.ts index 305acea7..0b67466e 100644 --- a/packages/react/src/index.ts +++ b/packages/react/src/index.ts @@ -109,6 +109,9 @@ export { type NodeConnection, type OnReconnect, type AriaLabelConfig, + type SetCenter, + type SetViewport, + type FitBounds, } from '@xyflow/system'; // we need this workaround to prevent a duplicate identifier error diff --git a/packages/svelte/src/lib/index.ts b/packages/svelte/src/lib/index.ts index bed08663..3c16faca 100644 --- a/packages/svelte/src/lib/index.ts +++ b/packages/svelte/src/lib/index.ts @@ -116,7 +116,10 @@ export { type ResizeDragEvent, type IsValidConnection, type NodeConnection, - type AriaLabelConfig + type AriaLabelConfig, + type SetCenter, + type SetViewport, + type FitBounds } from '@xyflow/system'; // system utils