From 879988fb8133394aca6cb3c788a00180253c0ffb Mon Sep 17 00:00:00 2001 From: moklick Date: Mon, 23 Jun 2025 09:35:11 +0200 Subject: [PATCH] chore(libs): add tsdoc annotations --- packages/system/src/types/general.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/system/src/types/general.ts b/packages/system/src/types/general.ts index 2e68a74d..15f64262 100644 --- a/packages/system/src/types/general.ts +++ b/packages/system/src/types/general.ts @@ -13,6 +13,9 @@ import { EdgeBase } from '..'; export type Project = (position: XYPosition) => XYPosition; +/** + * This type is used to define the `onMove` handler. + */ export type OnMove = (event: MouseEvent | TouchEvent | null, viewport: Viewport) => void; export type OnMoveStart = OnMove; export type OnMoveEnd = OnMove;