From 3015b40ec8cdbb5f505fa1ebe068378bcbd4d11f Mon Sep 17 00:00:00 2001 From: Damir Date: Thu, 14 Dec 2017 12:36:30 +0100 Subject: [PATCH] Fix react-native FlatList scrollToItem method signature --- types/react-native/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 7424e11e4d..b015ab0843 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -3614,7 +3614,7 @@ export interface FlatListStatic extends React.ComponentClass void; + scrollToItem: (params: { animated?: boolean; item: ItemT; viewPosition?: number }) => void; /** * Scroll to a specific content pixel offset, like a normal `ScrollView`.