Typescript FlatList renderItem useQuery

What is the correct way to type a FlatList renderItem function? All of the examples I find show inline functions. I generally pass a separate function into renderItem. When I type item as my realm object I get a type error however the app does function as expected.

Non-issue with FlatList. I’m actually using DraggableFlatList. This is a problem with that library. Works fine with basic FlatList.