Skip to content

Commit 238447c

Browse files
authored
update(edge-options): use correct types for source- and targetHandle closes xyflow/xyflow#3246
1 parent d52f668 commit 238447c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs-data/edge-options/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ const options = [
1919
},
2020
{
2121
name: 'sourceHandle?',
22-
type: 'string',
22+
type: 'string | null',
2323
description: 'You only need this when you have multiple handles',
2424
},
2525
{
2626
name: 'targetHandle?',
27-
type: 'string',
27+
type: 'string | null',
2828
description: 'You only need this when you have multiple handles',
2929
},
3030
{

0 commit comments

Comments
 (0)