From eec2a6923dc3dc329e8cfcffbc6b278b85acecf5 Mon Sep 17 00:00:00 2001 From: DenizUgur Date: Mon, 29 Apr 2024 12:42:39 -0700 Subject: [PATCH] fix typing for UpdateNodeInternals --- packages/system/src/types/general.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/system/src/types/general.ts b/packages/system/src/types/general.ts index 91a08082..0ab0fa03 100644 --- a/packages/system/src/types/general.ts +++ b/packages/system/src/types/general.ts @@ -104,7 +104,7 @@ export type D3ZoomInstance = ZoomBehavior; export type D3SelectionInstance = D3Selection; export type D3ZoomHandler = (this: Element, event: any, d: unknown) => void; -export type UpdateNodeInternals = (nodeId: string) => void; +export type UpdateNodeInternals = (nodeId: string | string[]) => void; export type PanelPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';