Skip to content

Commit

Permalink
Type VirtualizedList's ref
Browse files Browse the repository at this point in the history
Reviewed By: yungsters

Differential Revision: D7215114

fbshipit-source-id: 867a7b897f27d415269c11572708afeb570b4be0
  • Loading branch information
elicwhite authored and facebook-github-bot committed Mar 9, 2018
1 parent 216c8ec commit b6b80f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/Lists/VirtualizedList.js
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,7 @@ class VirtualizedList extends React.PureComponent<Props, State> {
velocity: 0,
visibleLength: 0,
};
_scrollRef = (null: any);
_scrollRef: ?React.ElementRef<any> = null;
_sentEndForContentLength = 0;
_totalCellLength = 0;
_totalCellsMeasured = 0;
Expand Down

0 comments on commit b6b80f6

Please sign in to comment.