File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
reason-react-native/src/elements Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ module Make = (T: {type t;}) => {
1212 scrollToIndexParams =
1313 "" ;
1414 [@ bs . send ]
15- external scrollToIndex : scrollToIndexParams => unit = "scrollToIndex" ;
15+ external scrollToIndex : ( T . t , scrollToIndexParams ) => unit = "scrollToIndex" ;
1616
1717 type scrollToItemParams (' item );
1818 [@ bs . obj ]
@@ -21,15 +21,17 @@ module Make = (T: {type t;}) => {
2121 scrollToIndexParams =
2222 "" ;
2323 [@ bs . send ]
24- external scrollToItem : scrollToItemParams (' item ) => unit = "scrollToItem" ;
24+ external scrollToItem : (T . t , scrollToItemParams (' item )) => unit =
25+ "scrollToItem" ;
2526
2627 type scrollToOffsetParams ;
2728 [@ bs . obj ]
2829 external scrollToOffsetParams :
2930 (~animated : bool =?, ~offset : float , unit ) => scrollToOffsetParams =
3031 "" ;
3132 [@ bs . send ]
32- external scrollToOffset : scrollToOffsetParams => unit = "scrollToOffset" ;
33+ external scrollToOffset : (T . t , scrollToOffsetParams ) => unit =
34+ "scrollToOffset" ;
3335
3436 [@ bs . send ] external recordInteraction : T . t => unit = "" ;
3537
You can’t perform that action at this time.
0 commit comments