From 1a4c6c3ec80a63428949ba35d0d6aabf3f7ac4ef Mon Sep 17 00:00:00 2001 From: moklick Date: Fri, 11 Jul 2025 09:11:40 +0200 Subject: [PATCH] chore(system): handle type annotations --- packages/system/src/types/handles.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/system/src/types/handles.ts b/packages/system/src/types/handles.ts index a8b51aa3..3d640d2a 100644 --- a/packages/system/src/types/handles.ts +++ b/packages/system/src/types/handles.ts @@ -1,5 +1,8 @@ import type { Position, IsValidConnection } from '.'; +/** + * @inline + */ export type HandleType = 'source' | 'target'; export type Handle = { @@ -17,14 +20,13 @@ export type HandleProps = { /** * Type of the handle. * @default "source" - * @example HandleType.Source, HandleType.Target */ type: HandleType; /** * The position of the handle relative to the node. In a horizontal flow source handles are * typically `Position.Right` and in a vertical flow they are typically `Position.Top`. * @default Position.Top - * @example Position.TopLeft, Position.TopRight, Position.BottomLeft, Position.BottomRight + * @example Position.Top, Position.Right, Position.Bottom, Position.Left */ position: Position; /**