Skip to content

Commit

Permalink
Merge pull request #53 from akellbl4/patch-1
Browse files Browse the repository at this point in the history
Make `innerRef` optional in ts types
  • Loading branch information
leandrowd committed Mar 20, 2021
2 parents 0807b77 + e3c6480 commit 7f74fa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react-easy-swipe.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ interface SwipeProps {
onSwipeStart?: (e: SwipeEvent) => void;
onSwipeMove?: (position: SwipePosition, e: SwipeEvent) => void;
onSwipeEnd?: (e: SwipeEvent) => void;
innerRef: (node: any) => void;
innerRef?: (node: any) => void;
tolerance?: number
}

Expand Down

0 comments on commit 7f74fa2

Please sign in to comment.