diff --git a/src/types/index.ts b/src/types/index.ts index 2e1cca1ca..8006aa1a2 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -303,7 +303,7 @@ export type ConnectionLineComponentProps = { targetPosition?: Position; connectionLineStyle?: CSSProperties; connectionLineType: ConnectionLineType; - sourceNode?: Node | null; + sourceNode?: Node; sourceHandle?: HandleElement; };