From b6b80f6a70c6d790c52b58453fefc2cea6cd06fe Mon Sep 17 00:00:00 2001 From: Eli White Date: Fri, 9 Mar 2018 12:23:56 -0800 Subject: [PATCH] Type VirtualizedList's ref Reviewed By: yungsters Differential Revision: D7215114 fbshipit-source-id: 867a7b897f27d415269c11572708afeb570b4be0 --- Libraries/Lists/VirtualizedList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Lists/VirtualizedList.js b/Libraries/Lists/VirtualizedList.js index ed113acda..53475be09 100644 --- a/Libraries/Lists/VirtualizedList.js +++ b/Libraries/Lists/VirtualizedList.js @@ -974,7 +974,7 @@ class VirtualizedList extends React.PureComponent { velocity: 0, visibleLength: 0, }; - _scrollRef = (null: any); + _scrollRef: ?React.ElementRef = null; _sentEndForContentLength = 0; _totalCellLength = 0; _totalCellsMeasured = 0;