Skip to content

Commit

Permalink
Merge pull request xyflow#222 from andys8/patch-1
Browse files Browse the repository at this point in the history
Improve Handle Properties typings
  • Loading branch information
moklick committed May 14, 2020
2 parents d299951 + 8b2640b commit 960b0e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Handle/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ interface HandleProps {
type: HandleType;
position: Position;
onConnect?: OnConnectFunc;
isValidConnection?: () => boolean;
isValidConnection?: (connection: Connection) => boolean;
id?: string;
}

const Handle = memo(
Expand Down

0 comments on commit 960b0e7

Please sign in to comment.