Type VirtualizedList's ref

Reviewed By: yungsters

Differential Revision: D7215114

fbshipit-source-id: 867a7b897f27d415269c11572708afeb570b4be0
This commit is contained in:
Eli White 2018-03-09 12:23:56 -08:00 committed by Facebook Github Bot
parent 216c8ec04b
commit b6b80f6a70
1 changed files with 1 additions and 1 deletions

View File

@ -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;