Skip to content

Commit b6b80f6

Browse files
elicwhitefacebook-github-bot
authored andcommitted
Type VirtualizedList's ref
Reviewed By: yungsters Differential Revision: D7215114 fbshipit-source-id: 867a7b897f27d415269c11572708afeb570b4be0
1 parent 216c8ec commit b6b80f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Libraries/Lists/VirtualizedList.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,7 @@ class VirtualizedList extends React.PureComponent<Props, State> {
974974
velocity: 0,
975975
visibleLength: 0,
976976
};
977-
_scrollRef = (null: any);
977+
_scrollRef: ?React.ElementRef<any> = null;
978978
_sentEndForContentLength = 0;
979979
_totalCellLength = 0;
980980
_totalCellsMeasured = 0;

0 commit comments

Comments
 (0)